Jump to content

How to add anchor links to my navigation bar

Go to solution Solved by Ziggy,

Recommended Posts

Hi, hoping this is an easy one! 

I have made a one page website and want the navigation bar to anchor down to various sections. 

I have added the standard anchor link code blocks where relevant but no matter what I add in the nav bar they aren't working. 

I have tried the following: 

Adding full links to the nav link - https://www.dovesflightgundogs.com/home#services
Adding the anchor link - #services
Adding the page url and anchor link - /home#services

If someone is able to help that would be great!

Website: https://www.dovesflightgundogs.com/home

Edited by MillyBanks
Link to comment
  • Replies 4
  • Views 473
  • Created
  • Last Reply

Top Posters In This Topic

Can you share the code from the code block for the services anchor? I believe you have the wrong quote marks around the services ID.

Edited by Ziggy

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
  • Solution

 I would use this HTML:

<span id="services"></span>

 

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
1 minute ago, MillyBanks said:

Thanks Ziggy that's it! Perfect!

Glad that worked for you!

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.