• 0
Sign in to follow this  
Followers 0

Main navigation doesn't show current item for categories, only pages - Whitehousepro

Question

Posted · Report post

1. I cannot get the category items in the main nav to highlight when on that category page. 2. I want the blogpage as the front page. and a menu item that shows that you are on the blog page. I can't get this to highlight either , but I'm assumint it's due to the category issue. thank you.

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

Hi, Category pages are dynamically created, and thus will not highlight in a menu unless the category is in the menu and is clicked. If you are in a post in the category, it will not highlight the category in the menu because WordPress (not WhiteHouse Pro) believes you're on the post. Even if you clicked, for example "News" which is a category link, in your menu, then clicked "News" in the meta bar of your post ('[i]in News[/i]...'), the menu highlight would change. WordPress simply doesn't see that you're in the same place because the clicking action changed the dynamic location. By default, WhiteHouse Pro comes with a blogpage as the homepage. Likely at some point, you went to Dashboard > Settings > Reading and changed things. Simply navigate to that location and make sure that the setting for "Front page displays" is [b]Your latest posts[/b]. This too is a dynamically created page, but the menu will highlight it because it's not a category. However, I'm unsure what happens if you've added some customization of the menu to change the colors on hover or active. The dynamic Home Page picks up your latest posts as a blog page would, but it is a unique page. It will require its own menu item. See my own set up at http://www.epicurusgroup.com.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0