I use this code to show things on my mobile phone and hide them at desktop, The problem that I can not show text, just pictures -
import wixWindow from “wix-window”;
$w.onReady(function () {
if(wixWindow.formFactor === “Mobile”){
$w(“#image135”).show(); // this part is working perfect!
$w(“#text111”).text=“The text which I wont to hide in desktop and show just on mobile”; // this part does not working!
$w(“#text111”).show();
};
});
So how can I use this code to hide and shows texts ?
This is the site -
Thanks!
Hadar