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!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024