TASTE THEME: Change header tag of add to cart button

PRETTYFRIDAYS
Pathfinder
197 0 34

Hey, I have ran into a problem when building my store, I am using a custom font which I can use for fonts on my website, but my add to cart buttons on my collection and product page are <span> tag, which I would like to change to h4,h5 or h6. Does anybody know how to? I will put my website link and password down below.

LINK:https://e8aaa0-3.myshopify.com/

PASSWORD: mohwhi

TASTE THEME

 

Replies 4 (4)

PageFly-Theodor
Navigator
360 51 54

Hi @Gustavo1105,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about Change Header Tag Of Add To Cart Button, let’s try this solution:

Online Store ->Theme ->Edit code->theme.liquid

<style>
h4,h5,h6{
font-family: your font !important;
}
</style>

I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

PRETTYFRIDAYS
Pathfinder
197 0 34

Hey, I don't really understand, where do I need to put this code and do I need to place my custom font link in place of the 'your font' ?

PageFly-Theodor
Navigator
360 51 54

For example

 

EchoPalm · Edit - Dawn · Shopify 2023-12-12 10-37-16.png

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

PRETTYFRIDAYS
Pathfinder
197 0 34

no no you don't understand, I have installed a custom font, where I can click or unclick to which header tag the custom font is displayed on, but my add to cart button is <span> which I would like to change to either h4 h5 or h6.