• Hi I have an issue I hope you can help.
    I want to use the same colour for my main menu bar background and also the main links. For this reason, when I’m in a page, the active link for the current menu item, is showing as the same colour as the background. I need the header background colour to be the same as the links throughout. What I wanted to do was target the font for that nav menu specifically and tell it to display as white, or, better, just leave it as it is, and ask for a white background for the active menu.

    I’ve tried adding css in various formats in the theme itself, under custom css. Also in my child theme. I must have the code wrong as it’s not working.

    I’ve deleted cache. I’m using !important…. can you help?
    Many thanks ??

    .main-navigation li.current-menu-item {
      background: #ffffff!important;
    }
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Justin P

    (@justinpartain)

    Can you please provide a ink to your site?

    Thread Starter Kir 2012

    (@kir-2012)

    Hi sorry the site isn’t live I’m afraid, have you come across this before at all?

    I was looking in the styling for ‘main menu’ in customisations in admin, for a means to isolate the ‘current’ or ‘active’ tab font colour or background colour to style it – but I couldn’t see anything, it seems to be set in the ‘global’ area only, for links globally – would that be correct?

    So I had a go at the above in css and that didn’t work either.

    Is there anything I should check?

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Colour issue – same colour for menu bar b.ground and main links’ is closed to new replies.