-
AuthorPosts
-
June 7, 2025 at 10:49 pm #1485197
Hello,
I’d like the main menu underlined (with a distance). Two different colors for normal a and hover. The lines should be as long as the words. The lines should lay exactly on top of the below image. See screenshot and link as private content.
Thanks for your help!June 8, 2025 at 8:22 am #1485207on default there are allready these lines : https://kriesi.at/themes/enfold/portfolio/
maybe you set it to display: none ? search for selector .avia-menu-fx
you then can influence by – f.e.:
#top .header_color .avia-menu-fx { height: 4px } #top .header_color.av_header_transparency .menu-item a:hover .avia-menu-fx { background: red } #top .header_color:not(.av_header_transparency) .avia-menu-fx { background: green }June 8, 2025 at 8:25 am #1485208maybe you had to synchronize it with the border-top-width color and width.
#top .av-main-nav > li > ul
and mega-div – because if there are sub-level dropdown menues – they will have a border too.June 8, 2025 at 12:46 pm #1485217June 8, 2025 at 1:40 pm #1485220Thank you Mike, this code works well! What can I do, to show such a line also on the inactive menu items?
June 8, 2025 at 2:45 pm #1485221Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.header_color .menu-item:not(.current-menu-item) .avia-menu-fx { opacity: 1; visibility: visible; background: gold; }Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeJune 8, 2025 at 3:01 pm #1485222Perfect. Thank you very much!
June 8, 2025 at 3:03 pm #1485223Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Special underlined Main Menu’ is closed to new replies.

