WordPress.org

Ready to get started?Download WordPress

Forums

Menu Hilighting (2 posts)

  1. gry086
    Member
    Posted 1 year ago #

    I have built a site, on my localhost, with 5 pages and 10 posts. Each page shows the user 2 posts to choose from. When the user chooses a post, the main navigation no longer highlights the page which the post belongs to.

    How do I assign a post to a page so the main navigation menu will highlight the page which a post belongs to?

  2. If your site is on localhost is hard for us to see and be able to help.
    Can you put it online somehow?

    If you look at the source code, you can see the classes generated in the menu. Perhaps go to the post and see if there's a unique class that would allow you to highlight the menu.
    If you can put your site online, then we can have a look... but until then...

Topic Closed

This topic has been closed to new replies.

About this Topic