Jump to content
Sign in to follow this  
max34061

Applying formatting to main navigation when child page / sub nav selected

Recommended Posts

max34061

Hi Using platform pro to develop http://www.lavapr.co.uk/blog. When hovering over or selecting a page from the main navigation, the text turns white and an orange background is displayed. This remains visible when the page is clicked: UuByH.gif When selecting a page from the sub navigation options, the parent page text stays white out of orange GsMLo.gif but when you click on the sub nav page, the formatting to the parent page is lost. Is there a way to make the parent page to still have white text in an orange box when viewing a child page. So that when looking a public relations (a sub page of 'what we do' the navigation area looks like this: GsMLo.gif Thanks in advance, Matt

Share this post


Link to post
Share on other sites
bryan-hadaway

`.current_page_ancestor`` is how to identify the parent when on sub-pages. So just add that selector to the styles you added for normal page selected code. If you're not sure what I mean post your CSS for the menu that you've added so far and I'll adapt it. Thanks, Bryan

Share this post


Link to post
Share on other sites
j1diek

Bryan, I am using the standard PlatformPro navigation and I want the parent in the main navigation to stay highlighted when a child nav is selected. Can you help me with that? thanks

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  

×