WordPress Change Active Submenu Color

This problem is really consuming too much of my time and I couldn’t seem to get the right CSS code for it. So here’s my straightforward question:

How do I change the text color/background of the active submenu? With active, I mean the submenu page is where I am currently in.

Read More

I would like to change it because this is what’s happening on my menu rn:
http://i.stack.imgur.com/t1ncE.png

The blue bg and text color btw is autogenerated as it is my theme’s accent color. I am not sure if the CSS I am adding are just being overridden or not. I am not familiar with CSS as well.
I have no problems on the Parent Pages. Just the active submenu ones.

Any help would be highly appreciated !

Related posts

1 comment

  1. Try

    .current_page_item {
        color: #fff!important;
    }
    

    If this works your CSS is just overwritten. You could go with the “!important” but have in mind that this steals a little performance.

Comments are closed.