Good day,
I’m trying to modify the css of an active link in the main menu and I can’t seem to get there.
I used the new styling options of the main menu with a border.
I inserted this code in the custom css and nothing happens :
/*——————————-active link menu—————————- */
.header_color .main_menu ul:first-child > li.current-menu-item > a:active, .header_color .main_menu ul:first-child > li.current_page_item > a:active {
color: #732b2d !important;
border-color: #732b2d #732b2d !important;
}
Basically, I would like to have the same css as when you hover over the menu links when the link is active. This is the CSS when I hover over the menu:
#top #header .av-main-nav > li:hover > a {
color: #732b2d;
background-color: #ffffff;
}
Thank you.
Hey futemarketing!
Please add following code to Quick CSS as well
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a {
color: #732b2d;
background-color: #ffffff;
}
If that does not work, please post the link to your website
Cheers!
Yigit
Hey!
You can use (Email address hidden if logged out) but please post login credentials here privately so any avaiable moderator can look into it.
Best regards,
Yigit
Hey!
> sign was converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field. Fixed it and adjusted the code a bit and it works fine now. Please review your website
Cheers!
Yigit
Awesome Mr. Yigit. Works perfectly. Thank you very much and have an excellent day.