How to change main menu Text Active and Hover color?

Posted in: Newspaper
Post count: 96

I want to change my main menu text active and hover color from black and yellow
https://cyberthana.com/wp-content/uploads/2018/05/Capture.png
to
some other color but I am not able to see any setting to change this color. Please guide me through this.

Post count: 96

I can change hover color by changing theme accent color but there is no option to change menu active color, like if I open FORUM section then forum button text background looks black, but I want to change this to some other color.

Post count: 20688

Hi,

For the text color of the menu item there is no theme panel setting. But it could be done with some CSS.
I see you currently have two menu items in the header menu. You want to change the text color when hovered or active. This would be a similar topic you can try
https://forum.tagdiv.com/topic/change-main-menu-custom-active-hover-text-color/

Thanks

Post count: 96

.td-header-wrap .current-menu-item a,
.td-header-wrap .td-header-menu-wrap .sf-menu > li > a:hover {
color: #231803!important;
}

This CSS is for text, But i also want to change menue active background color from BLACK to #f6931e.
For more understanding of what I am saying you can see this screenshot
https://cyberthana.com/wp-content/uploads/2018/05/Capture-1.png

Can you help?

Post count: 20688

Then set a background color as well
https://www.screencast.com/t/o4PlFy7Czw

.td-header-wrap .current-menu-item a,
.td-header-wrap .td-header-menu-wrap .sf-menu > li > a:hover {
color: #231803!important;
background-color: yellow!important;
}

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.