A user encountered a font rendering issue where their custom CircularStd-Medium font appeared different on their website compared to the preview on the font provider’s website. Screenshots were provided showing the discrepancy.
Solutions offered:
Add proper asset URL references: The original code was missing Shopify’s asset_url filter. The corrected code should use {{ "CircularStd-Medium.woff2" | asset_url }} format to properly reference uploaded font files.
Include font-weight and font-style: One suggestion recommended adding font-weight: 500 and font-style: normal properties to the @font-face declaration for better rendering.
Alternative approach: Place the @font-face rules in theme.liquid’s <head> section using absolute URLs to the font files.
Important caveat: A later response warned against using Shopify’s theme assets folder for font files, as Shopify’s documentation indicates files may be corrupted during upload. The recommended approach is to use Shopify’s Files section instead, combined with the file_url filter in a Custom Liquid section.
Summarized with AI on October 25.
AI used: claude-sonnet-4-5-20250929.