[Resolved] Custom CSS

Home Forums Support Custom CSS

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #133871
    Denis

    Hi,

    I don’t know how to explain the problem but i will try.
    It’s my header, i have changed my menu, when you move the mouse for example on the main menu button then background change with orange image but when you push another button for exmaple about us and rolls the mouse with a button the background changes to gray as you can see in the above image. I used “Simple Custom CSS” plugin here is the code `.main-navigation .main-nav ul li a:hover,
    .main-navigation .main-nav ul .current_page_item > a {
    background: url(‘http://127.0.0.1/wp-content/uploads/2015/09/menu_hover22.png’) repeat-x top center;
    border-radius: 0 0 20px 20px;
    }`

    How to solve that problem?

    #133873
    Denis

    Sorry frong link, here is an image

    Header

    #133884
    bdbrown

    Hi Denis. Try changing

    .current_page_item
    

    to

    .current-menu-item
    
    #133991
    Denis

    Nope that does not work. Thanks for help, bdbrown. Any other ideas?

    #133993
    denis

    Thanks for help. I found the solve of the problem. Just needed to add “a:focus” :

    .main-navigation .main-nav ul .current_page_item > a:hover, a:focus

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.