Hi!
Im absolutely new to coding, but I’m trying to make it work with the help of the WIX support articles.
I want to hide my menu column on the desktop’s homepage, but it should show in the mobile version. I have tried a combination of things, but it doesn’t work. I think this was my best shot:
$w . onReady ( function () {
if ( wixWindow . formFactor === “Mobile” ){
$w ( “#columnStrip18” ). show ();
if ( wixWindow . formFactor === “Desktop” ){
$w ( “#columnStrip18” ). hide ();
});
The code runs into this message afterwards:
Running the code for the Home page. To debug this code in your browser’s dev tools, open wqh5p.js.
Any advice is welcome!!