Conditional nav – highlight sub pages as “current” ?
-
Hi folks,
I’m not quite sure how to go about this but I’d like to create a loop (i think it’s a loop) for my site navigation on this site: https://losclothing.welcomebrand.co.uk/
Basically if you go to a page such as “our products” or “riders blogs” I’d like them to be highlighted in the same way in the main nav across the top as you would get if you were on the homepage.
I’d like to specify somehow “if you’re on page id 29 – show it as current and show any pages where id29 is the parent as current”
I’m really not sure how to go about this so any help would be hugely appreciated!
Many thanks,
J.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Conditional nav – highlight sub pages as “current” ?’ is closed to new replies.