'Current' class on child pages

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

Why didnt u you use a tab-widget?

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

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

2 Likes

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