Re: Change font in theme

Change font in theme

Mrstep
Explorer
47 3 8

Hello I am trying to change the font in my current theme. I believe the secondary font I am trying to change is called Playfair Display font and I am trying to change it to Avenir Next font. Where is it that I can change the font. When trying to change inside of the font area in the settings it changing the wrong font. Please help. 

Replies 2 (2)

Sonya_2025
Shopify Partner
247 32 46

Hi @Mrstep 

Pls share your store url and provide more details about how you change the font.

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out. EMAIL ME  
Motivate me by  PAY ME

Liquid_xPert_SJ
Shopify Partner
1197 130 167

Hi @Mrstep,

 

@Mrstep  If in the theme settings the required font is not updating, you need to download the Avenir Next from the web and upload it into your theme assets files and include that files into your theme css file method is below  
Step 1:
 Download the Font and convert it into .woff2 or .woff format.  
 Step 2:
 Upload in the Asset Folder.  
 Step 3 :
 Add some CSS Code in the CSS file at the bottom. which is written below  If you are using the .woff format then use the below code  
 

<style>
@font-face {
 font-family: 'Avenir Next ';
 src: url('Avenir Next .woff') format('woff');
 font-style: normal;
}
tagname or .classname or #id {
    font-family: Avenir Next;
}
If you are using .woff2 format then use below code  @font-face {
    font-family: 'Avenir Next ';
    src: url('Avenir Next .woff2') format('woff2');
    font-style: normal;
}
tagname or .classname or #id {
    font-family: Avenir Next;
}
</style>

 do let me know if you need my help 🙂

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂