All things Shopify and commerce
Greetings,
i want from a button when clicked to move down to a section in the page....in a html page i would add a `id` to link the section but now from the template a can't...does anyone knows how to do that?
When i click this button
to navigate me down here in the form (this is at the end of the same page)
Hello @mpatsi , you need to add a tag with href attributed to the respective id where you want to navigate. Please find attached the code to do this.
<a href="#YOUR_FORM_DIV_ID" >Button text</a>
<div id="YOUR_FORM_DIV_ID">
//form down here
....
</div>
Regards,
Osama Farooqi
Hi Osama,
I'm trying to create an anchor link as you have shown here how to do, but I have very little knowledge of coding. Could you kindly give an example of the code above with the actual relevant text? For example, what would the above code look like if I wanted to insert an anchor link in the word "Shipping" to scroll me down to the "Shipping" section on the same page?
I'd be very grateful for your help. Thank you
Rich
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024