Highlight active page?

Forums Forums Menus Highlight active page?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #20
    Anonymous
    Member

    Great Plugin! Is there a way to highlight the active page?

    #1895

    Albert – thanks.

    I haven’t thought about whether it is possible to highlight the active page. It is probably possible if you only want “WordPress Pagesâ€

    #1995

    Albert – thanks.

    I haven’t thought about whether it is possible to highlight the active page. It is probably possible if you only want “WordPress Pagesâ€

    #1896
    Anonymous
    Member

    Good point, Ryan. I was indeed referring only to Pages. But now that i think of it, there might be a problem with “childâ€

    #1996
    Anonymous
    Member

    Good point, Ryan. I was indeed referring only to Pages. But now that i think of it, there might be a problem with “childâ€

    #1897
    instamattic
    Member

    To highlight the parent

    .current_page_parent {
    background-color: red;
    }

    To highlight the current page

    .current_page_item {
    background-color: red;
    }

    Add those to your CSS file, changing red to whatever you want (and changing the entire class to whatever you want, obviously). The WP authors never cease to amaze me.

    #1997
    instamattic
    Member

    To highlight the parent

    .current_page_parent {
    background-color: red;
    }

    To highlight the current page

    .current_page_item {
    background-color: red;
    }

    Add those to your CSS file, changing red to whatever you want (and changing the entire class to whatever you want, obviously). The WP authors never cease to amaze me.

    #1898

    Thanks instamattic,
    This is now a feature of the Premium CSS generator. So anyone wanting an automated way to achieve this should sign up now … https://geek.hellyer.kiwi/premium_support/

    #1998

    Thanks instamattic,
    This is now a feature of the Premium CSS generator. So anyone wanting an automated way to achieve this should sign up now … https://geek.hellyer.kiwi/premium_support/

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