Jump to content

HEADER NAV LINK/FOOTER SLUG

Recommended Posts

Hello There,

Hoping someone can assist. 

I placed a code block in my footer labeled #CONTACT so that anywhere in my site when I mention Contact me/Ask me I can link it to my footer. (I've linked my NAV button CONTACT, as well some text in a page) The issue is when you click on the link it doesn't just redirect to the footer, but it first redirects to my homepage and then scrolls down to the footer. 

How can it scroll down directly to the footer without redirecting to the home page first?  

Link to comment
  • Replies 3
  • Views 143
  • Created
  • Last Reply

Top Posters In This Topic

Can you share the website and code/link you're currently using?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Sure thing. 

The website is candacejanee.com 

The code block I've added to the footer contains <div id="CONTACT"></div>

And then the CONTACT nav is linked to #CONTACT 
The issue is when I am on the, let's say, ABOUT page and click CONTACT it first jumps back to the homepage before scrolling down to the footer. 

Edited by CandaceCJ
Link to comment

I can see this happening as you describe. I believe that it is happening because there is a / in front of the #CONTACT, can you confirm that it is just #CONTACT that appears in the navigation link rather than /#CONTACT ?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.