-
AuthorPosts
-
February 20, 2021 at 11:07 pm #1282547
Hello,
I was wondering how could I get the menu underline to be the same as this: https://kriesi.at/themes/enfold-business-flat/
By default the underline’s width is determined by the width of the menu “section”, but I’d like it to be the same width as the text itself just like in the demo.
Thank you!
February 23, 2021 at 5:57 am #1282963Hey DeMamp,
Your site is in construction mode, please include login details in private so that we can view it.
Best regards,
RikardFebruary 23, 2021 at 2:19 pm #1283093This reply has been marked as private.February 23, 2021 at 3:00 pm #1283104Hi,
Thanks for contacting us!
I added following code to bottom of Quick CSS field in Enfold theme options > General Styling
#top .avia-menu-fx { bottom: 22%; width: 70%; left: 15%; opacity: 1; visibility: visible; }and chose “default” in “Header Style” in Enfold theme options > Header tab.
Please review your website :)
Regards,
YigitFebruary 23, 2021 at 3:43 pm #1283114This reply has been marked as private.February 26, 2021 at 6:32 pm #1283918Hi,
Thank you for the info.
We could create a pseudo container (:before) inside the current menu item, specify its dimension so that it has the same width as the menu item minus the 26px padding, apply the same orange background to it and make sure that it is positioned at the very top of the header. Please remove 3px orange border that you previously applied to the current menu item, then use this css code instead.
.current-menu-item::before { content: ""; position: absolute; top: 0; width: calc(100% - 26px); height: 3px; background: #fbb040; left: 13px; }Best regards,
IsmaelFebruary 26, 2021 at 8:27 pm #1283982That works perfectly! Thank you so much Ismael.
February 26, 2021 at 9:17 pm #1284005Hi DeMamp,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
