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.
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022