Streaming live at 10am (PST)

'Current' class on child pages


#1

Hello.

I've been here before but I still haven't found an easy webflow solution for this issue.

How do I get a 'Current' state on a navbar object to stick on child pages?

I had a workaround that used a bit of custom code but it produces unexpected results. It also switches the 'current' style on in the home navbar and subnav links on the subpages.

Here's the previous forum discussion

Does anybody know of a robust way to implement this just using webflow? The section with the issue is the 'Attractions' section on the site below.

Thanks in advance.
Will


Here is my public share link:
https://preview.webflow.com/preview/blairdrummondcarvanpark?preview=c93638170d098260a9828a4f455f2b98

Here is the published link:
http://blairdrummondcarvanpark.webflow.io/attractions


#2

Why didnt u you use a tab-widget?


#3

I thought about that but want to keep the pages separate for SEO.


#4

Can anyone advise? I'd really appreciate some pointers. Thanks.


#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.