Hello,
please try this code:
.menu > li.current-menu-item > a{text-decoration:underline}
Regards,
Stan Russell.
15 replies4 participantsUpdated by Brian Johnson
Hi Guys, where would i find the current active menu css in the stylesheet.
I would like to add an underline on active menu.
Thanks
Hello,
please try this code:
.menu > li.current-menu-item > a{text-decoration:underline}
Regards,
Stan Russell.
Hi Stan, would i be able to achieve something like the attached..
Also certain menus that will be active are sub-menus (Children)
Hello,
unfortunately we can not reach you site as it is protected by additional authorization form.
Please provide with access in private content.
Regards,
Stan Russell.
Hi, details in Pr Content
Hello
Please try this code:
.menu > li.menu-item > a:hover {border-bottom: 5px inset orange;z-index:9999;}
.menu > li.menu-item > a {border-bottom: 5px inset white;}
With best regards
Brian Johnson
Hello Brian, thanks for your help thus far (A-Grade)
However,
it needs to be on active menu items (parent or child) not hover.
Also needs to be a specific colour blue or orange
Thanks
Z
Hello,
Maybe provide screenshot for our better understanding and highlight what exactly you want.
Regards,
Robert Hall.
You are welcome.You may try this code:
.menu > li.menu-item > a {border-bottom: 3px inset white;}
.menu > li.menu-item > a:active{border-bottom: 3px inset blue;z-index:99999;}
.nav-sublist-dropdown .container ul > li.menu-item > a:active{border-bottom: 3px inset blue;z-index:99999;}
.nav-sublist-dropdown .container ul > li.menu-item > a {border-bottom: 3px inset white;}
With best regards
Brian Johnson
Hi Brian/Robert
Ok we are one step closer.
The blue needs to be #00457c and the line needs to stay active when on the current menu.
So for e.g when i click on news (or any menu even if parent or child) the blue line needs to stay.
Hope i explained properly, there is a screenshot in one of the earlier posts above.’
Thanks
Do you mean that parent(main menu) should be underlined with color when submenu makes dropdown action?
With best regards
Brian Johnson
Uhm yes please. so that blue line needs to stay present when a user in on a current page.
Hi, any ffeedback on this>???
Thanks
Currently we are looking to find a solution. You will get feedback as soon as possible. Thank you for understanding.
With best regards
Brian Johnson
No Problem,
Thank You
Hello
Please try this code:
li.menu-item{border-bottom: 10px inset transparent;z-index:99999;}
li.menu-item{border-bottom: 5px inset transparent;z-index:99999;}
li.menu-item-has-children:hover{border-top: 5px inset #00457c;z-index:99999;}
li.menu-item {border-top: 5px inset transparent;z-index:99999;}
With best regards
Brian Johnson
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Ecotransport StoreElectronics
(live demo, opens in a new tab)
EcoenergyElectronics
(live demo, opens in a new tab)
Rental CarCars & bikes
(live demo, opens in a new tab)
BeautyBeauty
(live demo, opens in a new tab)
Engineer StoreElectronics
(live demo, opens in a new tab)
UnderwearFashion
(live demo, opens in a new tab)
Chocolate BoutiqueFood & drinks
(live demo, opens in a new tab)
Cosmetics StoreBeauty
(live demo, opens in a new tab)
SunglassesFashion
(live demo, opens in a new tab)
Handmade StoreHandmade & Crafts
(live demo, opens in a new tab)
MedicalBusiness
(live demo, opens in a new tab)
Plants StoreFurniture
(live demo, opens in a new tab)
Hipster StoreFashion
(live demo, opens in a new tab)
Coffee StoreFood & drinks
(live demo, opens in a new tab)
Lifestyle BlogFashion
(live demo, opens in a new tab)
Painting studioBooks & art
(live demo, opens in a new tab)