Elements still Hidden on Mobile Wix code

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();
}
});

Hi Nathan,
The code looks ok.
Can you share a link to your site so we can inspect ?
Roi

Hi Roi,
Thank you for your response. I followed this article Velo Tutorial: Displaying Elements in Mobile Only | Help Center | Wix.com but was unsuccessful so what I did was if(wixWindow.formFactor === “Desktop”) and I hide elements there instead and now it works. I didn’t work well when I used the properties panel to hide it

Great Job!
Roi

Hi myer.freimann!

Please open a new thread where you elaborate as much as you can about the issue you’re facing.

Doron.