Ask any question about CSS here... and get an instant response.
Why isn't my custom font rendering properly in Safari but works fine in Chrome and Firefox?
Asked on Oct 30, 2025
Answer
When custom fonts don't render properly in Safari but work in other browsers, it often relates to font format support or incorrect CSS rules. Safari has specific requirements for font formats and cross-origin resource sharing.
Example Concept: Safari may not support certain font formats like TTF or OTF directly, requiring WOFF or WOFF2. Ensure your CSS includes a font-face declaration with multiple formats for compatibility. Additionally, check for CORS issues if fonts are hosted on a different domain, as Safari enforces strict cross-origin policies.
Additional Comment:
- Ensure you include multiple font formats (WOFF, WOFF2, TTF) in your @font-face rule.
- Check the server's CORS settings if fonts are hosted externally; Safari requires proper CORS headers.
- Validate the font file paths in your CSS to ensure they are correct and accessible.
- Consider using a font service like Google Fonts, which handles compatibility issues.
Recommended Links:
