Collapsed Sidebar
-
Hi @mariusjopen and @arminunruh !
yesterday i did a collapsed sidebar menu for a page i'm working on right now:
http://morgenmachen.org/startseite-3
The only problem i have is, that the content of the page won't move with the sidebar, like it does in this example:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_collapse_sidebar
The CSS they use in the example is:
}
#main {
transition: margin-left .5s; /* If you want a transition effect */
padding: 20px;
}Is it possible to achieve the effect by changing #main to whatever is used in laytheme? Do i have to put in the page ID? Or is this not possible with laytheme due to the way it uses Java Script?
It would be great if you could give me a little hint :-)
Cheers, Paul
-
Dear @Paul_Moxie
it looks great! I do not understand what you want to achieve.Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it