Website Building » Shopify » How Do I Add a Custom HTML Section in Shopify?

How Do I Add a Custom HTML Section in Shopify?

Last updated on December 4, 2022 @ 1:14 pm

Adding a custom HTML section to your Shopify store is a great way to add some extra content or features to your site. There are a few different ways to do this, but we’ll show you the easiest method using the Shopify Theme Editor.

In your Shopify admin, go to Online Store > Themes. Find the theme you want to edit, and then click Actions > Edit code.

Edit html code in shopify

On the Edit, HTML/CSS page, locate the Layout section. Under Layout, click on Add a new section. Or Add a new layout option.

Add a new layout

In the Add Section dialog box, select Custom content from the types of sections list. Then, click Add. Make sure to give a custom name before clicking Add or Done.

Create custom content layout

Once you’ve added the Custom content section, you’ll see two fields appear: Content and CSS. In the Content field, you can add your custom HTML code. Be sure to click Save when you’re done!

Save the html code change

Now that you know how to add a custom HTML section in Shopify, you can start adding your own custom content and styling it to match your store’s look and feel.

How Do I Add a Custom HTML Section in Shopify?

Adding a custom HTML section to your Shopify store is a great way to add some extra content or features to your site.

In your Shopify admin, go to Online Store > Themes.

On the Edit HTML/CSS page, locate the Layout section.

In the Add Section dialog box, select Custom content from the types of sections list.

Then, click Add.

PRO TIP: Adding a custom HTML section to your Shopify store can be risky if you’re not familiar with HTML code. If you don’t know what you’re doing, you could unintentionally insert malicious code into your store that could harm your business or customers.

Once you’ve added the Custom content section, you’ll see two fields appear: Content and CSS. Be sure to click Save when you’re done!

Now that you know how to add a custom HTML section in Shopify, you can start adding your own custom content and styling it to match your store’s look and feel.

Conclusion:

Adding a custom HTML section is a great way to add more content or features to your Shopify store.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.