Hi,
I have set some elements on my home page to be hidden on load and then I added code for the items to show on mobile however the items are still hidden in mobile. Please take a look. I have added my code below.
import wixWindow from ‘wix-window’;
$w.onReady(function () {
if(wixWindow.formFactor === “Mobile”){
$w(“#image96”).show();
$w(“#image97”).show();
$w(“#box10”).show();
$w(“#gallery3”).show();
$w(“#box11”).show();
$w(“#image98”).show();
$w(“#clipArt1”).show();
$w(“#clipArt2”).show();
$w(“#clipArt3”).show();
$w(“#clipArt4”).show();
$w(“#box12”).show();
$w(“#text324”).show();
$w(“#text325”).show();
$w(“#text326”).show();
$w(“#text327”).show();
}
});