Forum
How to have top nav stay active on detail page
I'm not sure if I can explain this very well so please bear with me.
I have a News and Downloads page (/news-and-downloads/index.php) and within that folder sits the blog (/news-and-downloads/news/) and a list (on the /news-and-downloads/index.php page ) and detail (/news-and-downloads/detail.php) jobs section.
I don't have a drop down and don't want one, what I want is for the 'News and Downloads' tab in the main menu to remain active wherever you are within that folder. How would I do this?
The top nav should be an ancestor page - so that will enable you to highlight it.
Hi Drew,
Thanks. I've added that code but it's still not working, must be something silly which I'm missing.
My code is below:
Nav template main.html:
Does it work if you use the standard
perch_pages_navigation()
?