All things Shopify and commerce
Hello, I hope you're doing well. I am using a variable font on my store. A variable font is a type of font that only has one file, and within that file, all the font styles are included, such as italic, bold, semi-bold, extra bold, etc. We can set the font weight according to the section. However, I have added a custom font in Shopify, but by default, the 'thin' style is being applied. I want to increase the font weight, but it's not working. Can someone please help me with this?
Solved! Go to the solution
This is an accepted solution.
Hi there,
I understand you're having trouble adjusting the font weight for your variable font in Shopify. Since variable fonts allow multiple styles (like thin, bold, etc.) in one file, we just need to make sure that your theme's CSS is set up correctly to control the weight.
Access Your Theme's Code:
Find the Correct CSS File:
Modify the Font Weight in CSS:
Save Your Changes:
If the font weight still doesn’t change, ensure the variable font you’ve uploaded supports the specific weights you’re trying to apply (e.g., 400, 700). You can check this by inspecting the font file or referring to the documentation provided by the font creator.
This should help solve the problem! Let me know if you run into any issues.
This is an accepted solution.
Hi there,
I understand you're having trouble adjusting the font weight for your variable font in Shopify. Since variable fonts allow multiple styles (like thin, bold, etc.) in one file, we just need to make sure that your theme's CSS is set up correctly to control the weight.
Access Your Theme's Code:
Find the Correct CSS File:
Modify the Font Weight in CSS:
Save Your Changes:
If the font weight still doesn’t change, ensure the variable font you’ve uploaded supports the specific weights you’re trying to apply (e.g., 400, 700). You can check this by inspecting the font file or referring to the documentation provided by the font creator.
This should help solve the problem! Let me know if you run into any issues.
Thank you so much @Daniel_Taylors brother. I had no idea that we could extract a specific font file from variable font file. My issue has been resolved.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024