Before you ask please READ THIS

Main menu text invisible when sub menu is selected.

edited July 2014 in Beach Please Posts: 10
Hi a while ago I added this code to my css to make the background hover on main menu white

.top-menu li:hover, .top-menu li.current-menu-item, .top-menu li.current-menu-ancestor {
background-color: #FFFFFF;
}

Now when you choose submeu item the main item is white as well - I cant seem to find where to change this.

here is my link - select work and the select logo - then watch work disappear.


http://levelcreativ.com


thanks
Post edited by surgeon on

Comments

  • edited July 2014 Posts: 1,758
    Hello, i'm moving this topic into 'Beach Please' section.
    Post edited by surgeon on
    Remember to rate our theme if you like it ;)
    All the Best.
  • AirAir
    Posts: 10,970
    Hello

    Yes, you overwrite default bg-color of marked items and that is why it happening. You will have to add such custom CSS
    
    .top-menu li:hover > a, .top-menu li.current-menu-item > a, .top-menu li.current-menu-ancestor > a {
        color: #000000;
    }
    
    Please comeback to me and tell if it works for you.

    With regards.
  • Posts: 10
    it worked but now the blue active or hover color is gone.
  • Posts: 10
    it did work but the hover /active color i had (teal blue) is gone
  • AirAir
    Posts: 10,970
    Then don't use whole CSS rule. Maybe try only this part:
    
    .top-menu li.current-menu-ancestor > a {
        color: #000000;
    }
    
    With regards.
  • Posts: 10
    ha lol - that brought it back to original - hover/active color is there, but work turns invisible....?
  • Posts: 10
    actually that worked -its ok - it just dissapears when you hover over submenu -when you click page its visible again - i guess that will work - thanks - u can click link and see
  • AirAir
    Posts: 10,970
    Hello again

    In your case I think CSS should be like this, so it will be good in every scenario:
    .top-menu li:hover > a, .top-menu li.current-menu-ancestor > a{
        color: rgba(6, 151, 185, 1);
    }
    I have tested it and it works nice in your case.

    Sorry for not testing this earlier.

    With regards.
  • Posts: 10
    perfect :) Thanks!!!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!