WordPress.org

Ready to get started?Download WordPress

Forums

Keep Parent Link Active while Child Page is Current (2 posts)

  1. JeremyEnglert
    Member
    Posted 2 years ago #

    I would like to have the parent page stay "active" when the current page is any of the children elements. For example, while on the "Back Story" page, I would like the navigation element "About" to stay highlighted/active.

    Here is the page/website:
    http://bit.ly/M91Jj7

    What do I need to with the CSS to make that happen?

    Thanks everyone!

  2. Andrew Bartel
    Member
    Posted 2 years ago #

    The active navigation item has a .current_page_parent class attached to it when you're on one of it's children.

    Firebug is great for stuff like this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.