WordPress.org

Ready to get started?Download WordPress

Forums

HOW to CSS Style a parent and a child page at the same time? (4 posts)

  1. hulksjedi
    Member
    Posted 8 years ago #

    Hello good people!

    Does anybody knows how to put some CSS Style to a parent page and the child page at the same time? I want to highlight the page ABOUT when the user is on the ABOUT page and if the user decides to go to the CONTACT page inside the about one they should see the two pages highlighted ( The ABOUT and the child, the CONTACT page, where the user is at the time).

    Anybody knows how to pull this out? THANKS!

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Do NOT post and then bump in another thread, then post again. I have deleted that other thread.

    Please wait, and go look at Codex. You need the section on Dynamic Menu Highlighting.

  3. hulksjedi
    Member
    Posted 8 years ago #

    Thanks Podz, sorry for the inconvenience, I didn't know how to delete the other one. Bye.

  4. hulksjedi
    Member
    Posted 8 years ago #

    Another thing, I already looked at the Dynamic Menu Highlighting and isn't what I really need. I mean, you can do it with that, but everytime you create another subpage or another main page in the menu you need to add a couple of lines in the code.

    There is a way to avoid that?

Topic Closed

This topic has been closed to new replies.

About this Topic