How to change the font on all buttons (Boost theme)

pete96
New Member
11 0 0

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!

 

 

Reply 1 (1)

Developden
Shopify Partner
38 20 16

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. 

If we helped you, please Like and Accept the Solution.
Developden | Custom Shopify Solutions
Contact us: contact@developden.com
https://developden.com