please share theme code
Topic summary
Goal: Disable Google Fonts to meet GDPR (EU data protection) requirements on a Shopify store.
- The store owner reports Chrome DevTools show Google Fonts loaded via API and asks how to turn them off. Site: maldivesdreams.eu.
- A helper requests the URL, then advises removing any Google Fonts link from theme.liquid.
- The owner cannot find a Google Fonts link and shares the theme.liquid code.
Key technical details:
- The shared code preconnects to fonts.shopifycdn.com and preloads fonts via Shopify’s font_url (woff2) and Shopify CDN, not an explicit fonts.googleapis.com link.
- theme.liquid is the main Shopify theme template. “Preconnect” hints early connections; “font_url” references theme-configured fonts; CDN is a content delivery network.
Status and outcomes:
- Action items completed: URL provided; theme code shared.
- No concrete fix identified yet; the helper is expected to review the code further and provide a solution.
- Unresolved: Whether Google Fonts are being pulled elsewhere (e.g., apps, other templates) or if the fonts observed are served via Shopify CDN rather than Google APIs.
Central artifact: The posted theme.liquid snippet is key to the issue.