Erfan Posted May 22 Share Posted May 22 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
Solution sorca_marian Posted May 22 Solution Share Posted May 22 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
Erfan Posted May 22 Author Share Posted May 22 @sorca_marian Awesome, Thank you so much. Would you be so kind as to take a look at my other question about responsive banners in this discussion? sorca_marian 1 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