Issue: Adobe Fonts added to a Shopify Empire theme didn’t appear after inserting the Typekit link and setting CSS variables in theme.css.liquid.
Diagnosis: Fonts load correctly (Adobe kit is working). The Empire theme (older setup) doesn’t use CSS variables for font assignment, and the YouTube tutorial likely targeted the Dawn theme.
Proposed fix:
Apply fonts via direct CSS selectors with !important, e.g.:
Add more specific selectors for any headings/sub-headers that still don’t pick up Bodoni.
Performance advice: After confirming, stop loading other (unused) fonts to improve site speed.
Context: OP provided a preview link after guidance on sharing a password/preview. Code snippets are central to understanding the solution.
Status: Partially resolved with clear implementation steps; awaiting OP’s confirmation. Unanswered: exact selectors for all elements needing the heading font.
Summarized with AI on December 30.
AI used: gpt-5.
I’m not a developer and am struggling to understand what to do and have been trying to follow tutorials through YouTube videos.
Adobe Fonts lets you create a “Web Project” where you can add multiple fonts and they will give you a snippet of code to put in your theme.liquid file on Shopify.
This is the snippet they gave me:
I added it to the theme.liquid file on line 79. I then followed a YouTube video on how to get the site to register those fonts and utilize them on the website.
I then went to the file “theme.css.liquid” and at the very bottom typed this in.
:root {
–font-body-family: “bilo”, sans-serif !important;
–font-heading-family: “bodoni-urw”, serif;
}
The fonts aren’t changing inside of my theme. Can someone help me figure out what I need to do to get the body, headers, and sub-header fonts to change to the Adobe ones I’m trying to push sitewide?
Ideally, you should share a link to your store and preview password if one is set.
There are 2 possible problems:
Your fonts are not loaded
Your fonts not applied where you want them to apply.
I guess Youtube video was, say for Dawn theme and yours is not.
Given that your asset is called theme.css.liquid I think that your theme is most probably an older one and does not use CSS variables you’ve tried to set.
Better recommendation can be given if we can see your site.