Adding custom HTML to your online store

If you are familiar with HTML, then you can use a custom HTML section to format text blocks or to embed HTML from a third-party website.

The custom HTML section is only available on the home page. If you want to add custom HTML to different pages on your online store, then add HTML content with the rich text editor instead.

Add a custom HTML section to your home page

Not all themes have a custom HTML section. If your theme doesn't include this section, then you need to add custom HTML to your home page by editing your theme code.

To add a custom HTML section:

  1. Find the theme you want to edit and click the Customize button for the theme.

  2. Click the Settings tab.

  3. Click Add section.

  4. In the Advanced layout area, click Custom HTML > Add.

  5. Click Custom HTML, and enter the HTML code that you want to embed on your home page.

  6. Click Save.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free