Hi - I am using Express theme and want to have a button on the top banner that smooth scrolls down to an image with text lower on the page. Can someone help me out with this? Fairly new to coding
Hi - just wanted to follow up here. Can anyone help out with this?
Is anyone able to help with this question?
Hello can you please share your site url and if any password then please share your password
Thank you! Website is https://lwdconsumer.com/. Password is freste
I want the “Find Out More!” button to smooth scroll down to the “where it started” section on the home page instead of going to a different page.
Hi Natztech - do you happen to know of a solution here?
I don’t quite understand what you mean when you say smooth scroll down the page. Do you have an example of what you mean?
Hi thank you so I want it to smooth scroll down the page to the “where it started” section like is described in the link to the right. https://www.blackbeltcommerce.com/how-to-add-a-smooth-scroll-effect-on-shopify/
First remove the link that you have placed on the button and then you can add this in theme.liquid in your layouts folder right before the closing tag:
If you have trouble just let me know and I can fix it for you, I’ll just request access to your themes and add the code in for you.
Thank you! I have added in the code and removed the link but now the button doesn’t show up? Do I need to put something in the space for Button link so it will show up?
There’s probably a conditional statement in the code that says “if there’s a link, then show the button.” I can go in there for you and alter the section code and get it working if you’d like, it’d be a little much to go over in a forum post.
That would be great! Thank you, let me know what you need from me
I just sent a request. You should get an email to approve or deny me in the email associated with your account.
Alright, you’re all set. Just preview the “Ninthony Editing” theme and check it out. If you like it just go ahead and publish that theme.
Perfect! Exactly what I was looking for, thanks again
Not a problem. Feel free to reach out.
Sorry one last thing I just noticed: it scrolls smoothly on my computer but not my iPhone. Is there a way to have both smooth scroll or no?
Check it again, it’s a problem with safari. I changed it back to an anchor tag and I believe that should resolve the issue.
Unfortunately it’s still jumping down to the image
Hm, I’ll try some other stuff, it’s because Safari doesnt support behavior: smooth – I’ll see if I can’t get something else working
