Solved

Add Custom Fonts to the symmetry theme

oneshot
Visitor
2 0 0

Hello, I have added my custom fonts into my assets in the theme editor but they don't show in the library. I can't select them. Can someone help? I am using the Symmetry theme. Screenshot 2024-01-23 at 10.37.17 AM.pngScreenshot 2024-01-23 at 10.37.13 AM.png

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4050 902 1556

This is an accepted solution.

Hi @oneshot 


This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
@font-face {
    font-family: 'bruliavariabletest';
    src: url('{{'bruliavariabletest-display.woff' | asset_url}}');
}

@font-face {
    font-family: 'bruliavariabletest-display';
    src: url('{{'bruliavariabletest-display.woff2' | asset_url}}');
}
</style>

Hope this can help you solve the issue

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)

Rishihuptech
Shopify Partner
351 63 68

Hi @oneshot 
You have uploaded the fonts to assets but to fetch the fonts you need to add below CSS code to theme.liquid

 

 

<style>
@font-face {
    font-family: 'bruliavariabletest';
    src: url('{{'bruliavariabletest-display.woff' | asset_url}}');
}

@font-face {
    font-family: 'bruliavariabletest-display';
    src: url('{{'bruliavariabletest-display.woff2' | asset_url}}');
}
</style>

 

 

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
oneshot
Visitor
2 0 0

Anywhere in the theme liquid?

PageFly-Richard
Shopify Partner
4050 902 1556

This is an accepted solution.

Hi @oneshot 


This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
@font-face {
    font-family: 'bruliavariabletest';
    src: url('{{'bruliavariabletest-display.woff' | asset_url}}');
}

@font-face {
    font-family: 'bruliavariabletest-display';
    src: url('{{'bruliavariabletest-display.woff2' | asset_url}}');
}
</style>

Hope this can help you solve the issue

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

alamaa
Visitor
1 0 0

Thanks for the hint; how can I then reference this font family in the headers or various parts of the theme? (base_font, navigation h1..)