Anchors and subpages # and /#

Anchors and subpages # and /#

Hello everyone,

hope you are all doing fine. 

I am having an issue with a fullpage BootStrap design I'm using. It also has subpages, so I had to replace the anchors  like #services with /#services (a dash in front) so the link also works on subpages.

However, when on the main page now, in the navbar (bootstrap), the 'active' section doesn't lit up anymore due to the '/' before the anchor.

I'm new to jQuery but I was hoping that jQuery could come to the rescue...
    • Topic Participants

    • 24