Jump to content

Change Button Link in Header for one specific page

Go to solution Solved by sorca_marian,

Recommended Posts

Hello everyone
In my portfolio site, I have a "Designs" button in a header and an anchor link to the #Designs section of the home page with a smooth scroll animation.  If the user goes to other pages, such as "about," the link will not work because it only directs to #design. I tried changing the link of a button to /home#designs, but the problem is if the user clicks it on the home page, it reloads the page, and that smooth animation will not work. do you guys have any solution, or can you guide me on how to change the link of the Designs button on one specific page only? (note: my plan doesn't support advanced settings for pages and only has custom CSS in general.

Link to comment
  • Replies 2
  • Views 986
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

Hello,

Try using /#designs
If it does not work, send me a link to your site so I can make some tests.

 👨‍🔧👨‍💻 Squarespace plugins

🙋‍♂️ Squarespace Custom Web Development & Design

📅 Notion alternative

📹 Squarespace Tutorials for free - YouTube📹 

💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years

🙋‍♂️ Let's connect on LinkedIn

 

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.