Menu space between in %
-
Hi armin,
great work with the laytheme there!I have a question regarding the menu.
Is it somehow possible to set the space between menu points with % instead of px?It should look something like that: http://fabian.schewe-hausen.de/
it did that with normal fixed text.do you know a way to make that work?
thanks,
Fabian
-
Hey Fabian!
Hmm how about this CSS in "Lay Options" -> "Custom CSS & HTML" -> "Custom CSS for desktop":
nav.primary li{ margin-bottom: 30vh; }
You can play around with the 30vh value.
-
Hey Armin,
thanks for the answer!
that works for me, except that the space from top for the first menu point somehow when i select 19% space top, i think it takes 19% of the windows width and not hight. so the menu changes when i scale the browser window in width but doesnt when i change the hight. is that possible?here's the link i used it: www.fabianschewe.com
Thanks! -
ah yeah, you could do:
nav.primary { top: 30vh; }
-
thanks! that worked
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