# Elements still Hidden on Mobile Wix code

**URL:** <https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [February 19, 2018, 6:42pm UTC](https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867 "2018-02-19T18:42:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan-2](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nathan-2](https://forum.wixstudio.com/u/nathan-2)\
**Post date:** [February 19, 2018, 6:42pm UTC](https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867/1 "2018-02-19T18:42:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![roi-bendet](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/roi-bendet/32/1283_2.png) [@roi-bendet](https://forum.wixstudio.com/u/roi-bendet)\
**Post date:** [February 20, 2018, 9:03am UTC](https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867/2 "2018-02-20T09:03:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nathan-2](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nathan-2](https://forum.wixstudio.com/u/nathan-2)\
**Post date:** [February 20, 2018, 1:13pm UTC](https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867/3 "2018-02-20T13:13:56Z")

</div>

Hi Roi,  
Thank you for your response. I followed this article [Velo Tutorial: Displaying Elements in Mobile Only | Help Center | Wix.com](https://support.wix.com/en/article/how-to-use-wix-code-to-display-elements-in-mobile-only) 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

---

<div class="post-metadata">

**Author:** ![roi-bendet](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/roi-bendet/32/1283_2.png) [@roi-bendet](https://forum.wixstudio.com/u/roi-bendet)\
**Post date:** [February 20, 2018, 1:20pm UTC](https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867/4 "2018-02-20T13:20:55Z")

</div>

Great Job!  
Roi

---

<div class="post-metadata">

**Author:** ![doron-alkalay](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/doron-alkalay/32/2887_2.png) [@doron-alkalay](https://forum.wixstudio.com/u/doron-alkalay)\
**Post date:** [August 9, 2018, 5:05pm UTC](https://forum.wixstudio.com/t/elements-still-hidden-on-mobile-wix-code/29867/5 "2018-08-09T17:05:18Z")

</div>

Hi myer.freimann!

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

Doron.
