Have menu already open when visiting the website on mobile
-
Hello.
Did anybody already try (and manage) to have the mobile menu already open when visiting the website? So, instead of showing only the category projects (as "landing page" as it is in desktop mode), on a mobile I would like to show directly the whole menu.
Of course, this should be the same menu as the one that opens when I am visiting a specific project and would then click on the burger icon.
We suppose this has to be done via some javascript, but for the time being we didn't manage to find a script that works with Laytheme.
Any hint would be appreciated.
Thanks. Helen
-
Dear @LN
it is very simple to code that script yourself:Basically you just need a simple jQuery function which runs when the page gets loaded.
http://laytheme.com/documentation.html#custom-javascriptIt should add a couple of classed to some elements which are related to the menu. As well it should change some CSS values to make it visible.
Have a look at the inspector (right click on menu -> inspect element with Chrome).


Hope that helps!
Best!
Marius