Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve used this css code:

    #nav-header .nav li.current-menu-ancestor>a,#nav-header .nav li.current-menu-item>a,#nav-header .nav li.current-post-parent>a,#nav-header .nav li.current_page_item>a,#nav-header .nav li:hover>a,#nav-header .nav li>a:hover,#nav-topbar .nav li.current-menu-ancestor>a,#nav-topbar .nav li.current-menu-item>a,#nav-topbar .nav li.current-post-parent>a,#nav-topbar .nav li.current_page_item>a,#nav-topbar .nav li:hover>a,#nav-topbar .nav li>a:hover {
    
    color:#000000;
    background:#FFFFFF;
    }

    check out how it works on my blog: https://jackgraal.com/en/

    Thread Starter karsten007

    (@karsten007)

    Hi Jack,

    thank you for very much for your quick response.

    This was exactly the code that I needed.

    You can see the result here: https://www.kagels-trading.de

    It seems that I don’t need the “color” attribute, only background.

    Thanks again and ave a nice weekend.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make current page highlighted in menu?’ is closed to new replies.