Hi,
I have a link in my navbar that navigates to the PREORDER section of the home page (with ID of “preorder”. The link works fine when I’m on the home page, but stops working if I click on the link from another page, ie. the Privacy Policy page. How do I properly set this up?
I also want the correct link highlighted in the navbar depending on what section I’m in.
Desired action:
-
When on the home page, I want the HOME link to have a box around it (current state) at all times.
ONLY when scrolling/navigating to the PREORDER section of the home page, I want the PREORDER link in the navbar to have a box around it, and no box around the HOME link -
I want to maintain this functionality when navigating from another page. For example, if I visit the PRIVACY POLICY page, the PREORDER link in the navbar no longer works/navigates to the PREORDER section of the home page. I gave the PREORDER section an ID but the link doesn’t work when coming from the PRIVACY POLICY page. Image 2017-11-10 at 11.42.5...
Please see the preview link below.
Here is my site Read-Only: LINK
(how to share your site Read-Only link)