How to fix mixed content on Shopify

Ensure every resource (images, scripts, stylesheets, fonts, iframes) on your store is loaded over HTTPS, never HTTP, so browsers never block or warn about mixed content.

Steps for Shopify

  1. Shopify forces HTTPS for all hosted assets automatically, so mixed content almost always comes from hardcoded HTTP URLs in theme code or page content.
  2. Go to Online Store → Themes → your active theme → Actions → Edit code.
  3. Use the search box (magnifying-glass icon) to search for 'http://' across all theme files. Change any found instances to 'https://' or '//'.
  4. Also check Online Store → Pages, Blog posts, and any Custom content sections — edit each in the rich-text editor, switch to HTML view, and replace 'http://' URLs.
  5. For third-party app embeds, revisit the app's settings page and copy the latest embed snippet, which should already use HTTPS.
  6. Re-test with DevTools Console on your live storefront.
Official Shopify documentation ↗

What is mixed content?

Mixed content happens when a webpage is served securely over HTTPS but one or more of its resources — images, JavaScript files, CSS stylesheets, fonts, videos, or iframes — are still requested over the old, unencrypted HTTP protocol. Browsers treat this as a security problem because the page itself is encrypted but parts of it are not. Modern browsers either silently upgrade, actively block, or display a security warning when they detect mixed content. The result is a broken or degraded experience for your shoppers.

Mixed content can break visible elements on your store (images that won't load, styles that don't apply, widgets that silently fail), directly hurting conversion rates. Browsers like Chrome and Firefox block "active" mixed content (scripts and stylesheets) outright, meaning functionality you depend on — checkout widgets, live chat, reviews — may simply stop working. A broken padlock icon or "Not Secure" warning in the address bar destroys shopper trust at the exact moment they are deciding whether to buy. Search engines also use HTTPS as a ranking signal, and a compromised security indicator can undermine the SEO benefit your SSL certificate is supposed to provide.

See the complete Mixed content guide for every platform and the full background.

Not sure if your Shopify store has this?

Run a free SEOLZ scan — we’ll find mixed content and every other issue across your whole site.

Scan my site free

Fix mixed content on another platform