We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I add multiple custom fonts to my website?

How can I add multiple custom fonts to my website?

tlazytboutique
Visitor
2 0 0

I am looking to add my custom fonts to my site. I am able to get one of them on there with this code:

<style>
@font-face {
font-family: "Farmhouse";
src: url( FILE URL) format("opentype"),
url(FILE URL) format("woff"),
}
h1, h2, h3, h4, h5 {
font-family: "Farmhouse" !important;
}
</style>

 

However,

 

I would like to add additional custom fonts to use for other parts of my site. Is this possible?

Replies 6 (6)

Perennial
Shopify Partner
1476 115 234

hi,

see this vedio

https://www.youtube.com/watch?v=bjkMxZ98JYI

i hope solve a Problem

 

if any Query let m know

Thanks

DelightCart
Shopify Partner
1271 84 158

@tlazytboutique 

1. go to Online Store > Themes > next to the theme you want to edit click Actions > Edit Code. In the sidebar choose Assets > theme.scss.liquid. Scroll to the bottom of the file and paste the following code…

@font-face {
font-family: "Farmhouse";
src: url( FILE URL) format("opentype"),
url(FILE URL) format("woff"),
}


2. Go to the Assets folder and click Add a new asset. Upload each version of the font file one by one.

3. Now that the font is installed

Delight Cart - It's time to turn your visitors into loyal shoppers! 

Delight Loyalty - Increase repeat sales quickly and build lifelong customers loyalty.
tlazytboutique
Visitor
2 0 0

I think maybe the rest of your answers didnt upload. I am able to get one font to change however, I am wanting to change different headings/body to different fonts than others as custom fonts as well.

Minakshi15
Shopify Partner
148 6 14

Hi @tlazytboutique 

Please add your font files in file section go to admit--settings--file upload all the font file in file section please add this css in your custome/base.css in top

 

@font-face {
  font-family: "Fashionable";  
  src: url("font_URL") format("woff2"),// copy the font link in file section and past here 
  url("font_URL") format("woff"); 
  }

 

 
If you find my reply helpful, please hit Like and Mark as Solution

gr_trading
Shopify Partner
2070 149 212

Hi @tlazytboutique ,

 

Please refer the video below to add fonts in Shopify store's font settings to implement.

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

EMW58LC
Visitor
2 0 0

So honestly for what people pay to shopify, why in the heck would there not already be thousands of fonts already loaded and available?