I need your help. I managed to hide one element on some pages of my desktop but it doesn’t work on the mobile version. I use the following code:
import wixWindow from ‘wix-window’;
if (wixWindow.formFactor === “Desktop” &&
wixWindow.rendering.renderCycle === 1) {
$w("#element1").hide();
$w.onReady( function () {
if (wixWindow.formFactor === “Mobile” &&
wixWindow.rendering.renderCycle === 1) {
$w("#Element1").show();
Thanks for your help.