Terms of Service HTML Code Not Displaying on the Page

Topic summary

A user is trying to embed an external Terms of Service document using an iframe in Shopify’s policy settings (Settings → Policies → Terms of Service). The HTML displays correctly in the admin panel but appears blank on the storefront.

Troubleshooting attempts:

  • Cleared cache and tested multiple browsers
  • Verified HTML validity
  • Checked theme settings for conflicts
  • Ruled out font color/background issues

Key findings:

  • All policy pages except the refund policy fail to display properly
  • The iframe code itself is valid and works when tested in a Custom Liquid section
  • The issue appears to be that Shopify’s policy editor only accepts text and formatting, not embedded HTML/iframes

Current status: The problem is identified as a limitation of Shopify’s policy settings rather than a code or theme issue. The discussion suggests using Custom Liquid as a workaround, though no final resolution for displaying it through the native policy section has been confirmed.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

I’m experiencing an issue with my Terms of Service page. I added the HTML code into the Settings → Policies → Terms of Service section, and when I check it inside the admin panel, it looks perfect. However, when I visit the actual page on my storefront, it appears completely blank.

I’ve tried:

  • Clearing my cache and testing in different browsers
  • Checking if the HTML is valid
  • Looking into my theme settings to see if something is overriding the content

Has anyone else encountered this issue? Could it be a theme-related problem, or is there something I’m missing?

Thanks in advance for any help!

Hi @Armin22

I think one possible issue is your font color is same as the background. If so you can not see the text

Hi @Sonya_2025 , thanks for the suggestion, but I don’t think that’s the issue. The font color is actually black, so it’s not blending with the background. The problem must be something else.

Can you share your store url? we can have a check on this

cukiotthon.hu password:cukiarminpap22

@Armin22

Thanks for your sharing. I did not find any issues so far. I found that all policy can not show properly except refund policy.

Can you paste out your html code of the policy.

the page has no content for me.

you are clicking Show HTLM and adding code in there? why are you adding code to it? what is the purpose of the code?

I added the code because I received a well-structured and easily usable Terms and Conditions document from the supplier I ordered from. I wanted to embed it directly for convenience.

the code it good. I can get it to show up via a Custom Liquid setting. Looks good. Cannot get it to show up through the Policies code. That seems to only accept text and formatting.