A user is troubleshooting why their imported BebasNeue font displays as Barlow Condensed instead, despite Chrome DevTools showing the font-family rule is applied. They’ve tried multiple font sources and added @font-face declarations in both base.css and theme.liquid as backup.
Proposed solutions:
Upload font files to Shopify’s Files section and reference them via CDN URLs with the file_url filter
Check browser console for font corruption warnings (similar to known WOFF/WOFF2 issues)
Move @font-face code to a “Custom liquid” section in the Footer, since assets/*.css files don’t process Liquid tags and don’t recognize tags
Key clarification: The DevTools screenshot only shows the CSS rule is applied, not that the font successfully loaded. The “Rendered Fonts” section at the bottom of the DevTools pane reveals which font actually displays.
The issue remains unresolved pending implementation of these debugging steps.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
Solution is also mentioned there – upload to Files and use file_url filter instead.
Also – assets/*.css files do not process liquid and do not recognize … – your best bet would be to put that code into “Custom liquid” section added to Footer section group.
Finally – screenshot does not mean the font is loaded. It means that there is a rule to use this font for this element, but nothing about it being loaded. It’s instruction, not confirmation.
If you scroll this pane to the bottom you would see what actual font is used to output this element under Rendered Fonts: