Tagged: construction demo, current-menu-item
-
AuthorPosts
-
February 4, 2016 at 8:54 pm #578050
Dear support,
i create a site with enfold construction-demo theme.
How can change the color of active menu item, active menu text, active menu item background?i search a long time in this forum and tried any solution out…but the active button or active button text is not changed…
I tried with this:
#top #header .av-main-nav > li:active> a .avia-menu-text, #top #header .av-main-nav > li:active > a .avia-menu-subtext {
color: #F1C254 !important;
}
But does not worked…
Can you help me please??
Show my site link-
This topic was modified 9 years, 10 months ago by
strumpumpel.
February 5, 2016 at 12:00 am #578123hi strumpumpei ;
have you tried with
#top #header .main_menu avia-menu .current-menu-item{
color: #F1C254 !important;
}February 5, 2016 at 12:38 am #578129I have this now tried out…but not change…..:(
Thanks begrafiks! But does not worked..February 5, 2016 at 4:06 pm #578545Hey!
This will change the active menu item font color:
.current_page_item a { color:#000!important; }This will change the active menu item background:
.current_page_item a { background:gold!important; }combine and use the below code like this
.current_page_item a { color:#000!important; background:gold!important; }Regards,
Vinay KashyapFebruary 5, 2016 at 4:55 pm #578593Hell Yeah!!! :) Great Vinnie!
So thanks :))February 5, 2016 at 5:07 pm #578597Vinnie,
in my theme is your code the half solution. But you gived me the right way to the solution!!!This code:
.current_page_item a {
color:#fff!important; —> dont worked
background:#efbb20!important; —> worked
}For menu text color worked this:
.current_page_item a > .avia-menu-text {color:#000!important;}
Vinnie and all have nice weekend!!!!! :)
-
This topic was modified 9 years, 10 months ago by
-
AuthorPosts
- The topic ‘Active menu item change color’ is closed to new replies.
