WordPress.org

Support

Support » How-To and Troubleshooting » HOW to CSS Style a parent and a child page at the same time?

HOW to CSS Style a parent and a child page at the same time?

  • 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

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

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HOW to CSS Style a parent and a child page at the same time?’ is closed to new replies.
Skip to toolbar