Shopify themes, liquid, logos, and UX
Hello, I am trying to add a new font to the Baseline Theme.
I have found a woff file, I've uploaded it to assets, I have tried adding code from other discussion boards here and have followed the instructions carefully – meaning adding CSS code and changing the name to match the exact file name etc, and it never works or appears in the typography section of the Customizer.
Any ideas? Thanks.
URL: contrakidsmutiny.com
Hi @MJ82
To add a new font to the Baseline Theme and ensure it appears in the typography section:
@font-face {
font-family: 'YourFontName';
src: url('{{ 'your-font-file.woff' | asset_url }}') format('woff');
font-weight: normal;
font-style: normal;
}
3. Apply the Font: Update the desired element's CSS:
h1, p {
font-family: 'YourFontName', sans-serif;
}
4. Typography Section: If it still doesn’t appear in the theme editor, ensure the font is linked in the appropriate schema settings file.
For further debugging, check for typos in the font name or file path.
If you have other questions, I am willing to answer them more.
Best regards,
Daisy
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024