Liquid, JavaScript, themes, sales channels
Hello,
I'd like to add a button on my home page (www.earthtoplanet.com) using the Custom HTML section. Using the most basic HTML this is what I have so far:
However, I'd like for it to take on the button styling consistent with the theme. Like, for example, the Add To Cart button:
I'd really appreciate your help learning how I can reference the theme's button styling in my Custom HTML section.
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hello,
Add class="btn" to your a html tag and the button will have the same style.
Code:
<a class="btn" href="https://earth-to-planet.myshopify.com/collections/cartoons">More Cartoons ></a>
I hope this helps!
Give me a Like if I helped you
Please mark as Accepted Solution if I fixed your problem!
Thanks 🙂
This is an accepted solution.
Hello,
Add class="btn" to your a html tag and the button will have the same style.
Code:
<a class="btn" href="https://earth-to-planet.myshopify.com/collections/cartoons">More Cartoons ></a>
I hope this helps!
Give me a Like if I helped you
Please mark as Accepted Solution if I fixed your problem!
Thanks 🙂
Fantastic. Thank you!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024