-
AuthorPosts
-
May 7, 2024 at 5:12 pm #1442586
hello everyone
I have added a full-width submenu here
link belowmy question
is it possible to adjust the height?
see printscreenthe distance at the bottom is smaller the menu is centered vertically
and a white line between the menu items like on the main menuthanks in advance
kind regardsFranz
May 8, 2024 at 8:57 am #1442645Hey schweg33,
Thank you for the inquiry.
You can use this css code to adjust the height of the sub menu container and the menu items.
#top .av-submenu-container.av-5hgbq7-277231f29348cd34006a580016280e02, #top .av-submenu-container.av-5hgbq7-277231f29348cd34006a580016280e02 li { min-height: 2em; line-height: 2em; }
Default min-height value is 52px.
Best regards,
IsmaelMay 8, 2024 at 9:12 am #1442648Hello Ismael
that fits so well thanksbut I have several menus
can you set it so that it is the same for allthanks and greetings
franzMay 8, 2024 at 9:19 am #1442650:-)
or I have another idea
could you simply lower the font so that it is centered?thanks
kind regardsMay 8, 2024 at 9:58 am #1442658Hi,
Thank you for the update.
Please update the css with the following code to apply the changes to every full-width submenu element on the site.
#top .av-submenu-container, #top .av-submenu-container li { min-height: 2em; line-height: 2em; }
If you want to move the menu items without adjusting the height of the submenu container, try this css code;
#top .av-submenu-container li { position: relative; top: 5px; }
Best regards,
IsmaelMay 8, 2024 at 10:16 am #1442663Hello Ismael
The shifting of the menu items fits perfectly,
thankswould it still be possible to insert the white vertical lines as in the main menu.
see printscreen
thanks
kind regards
FranzMay 9, 2024 at 6:22 am #1442761Hi,
would it still be possible to insert the white vertical lines as in the main menu.
To add white vertical lines or separator between the menu items, please add this css code.
#top .av-submenu-container li a { border-right: 1px solid #ffffff; } #top .av-submenu-container li:last-child a { border-right: 0; }
Best regards,
IsmaelMay 9, 2024 at 6:48 am #1442763Hello Ismael
Thank you very much
now it is perfect
you can close this request
best regards
FranzMay 9, 2024 at 10:09 am #1442797Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘distance below and intermediate line in white’ is closed to new replies.