lizasem Posted July 9, 2022 Share Posted July 9, 2022 Site URL: https://objekts.squarespace.com/?password=demo Hello! My anchor link is in the nav and I would like it to have the same active state as the other navs when it is clicked. I kinda figured it out using the class ".homepage" since the anchor link is in the homepage, but the active state is always on and I want it to be on only when clicked. I think javascript would be ideal for this problem. The script would read the title and if it has "#" in the url then the active class would show, and if not, the active class would be removed. I'm not super great with javascript and would appreciate any help with this! Thanks in advance! Link to comment
tuanphan Posted July 11, 2022 Share Posted July 11, 2022 Hi, I don't see anchor link on header. Can you add it? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment