Liquid, JavaScript, themes, sales channels
hello -
How can I change the font that is displayed on all buttons across the entire site? We use the Boost theme. There does not seem to be a setting in the Theme settings | Typorgraphy or elsewhere specifically to set the font used by buttons. How might I achieve this with CSS? Many thanks for your help!
Hi @pete96
Please follow these steps to change the font on all buttons across the website:
1. Go to Admin>Online Store
2. On the Boost theme click: Actions>Edit code
3. Copy and paste this code in the styles.css file in the Assets folder
a.btn {
font-family: '';
}
button.btn {
font-family: '';
}
Type in the font name between the two quotation marks: ''. So for example:
font-family: 'Montserrat'
Keep in mind, you will need to have the font added to the theme to use it. Let me know if you need any help with this also.
User | RANK |
---|---|
25 | |
22 | |
9 | |
6 | |
6 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023