Story theme - Add a custom HTML code section

This tutorial allows you to add a custom HTML code section to your theme section.

1

Create a new section file

From you Live theme (important, this works with published themes only) - Use the Theme actions button at the bottom of the page. Then choose Edit code:

In the Sections folder, choose Add new section:

Call the section:

index-code

Example:

Use the Create section button to complete. 

Erase all the default code that generated:

Replace the default code with the code from this file:

Click to view code

Save the file:

2

Add the new section in the Theme Editor

Open the Theme Editor:

Under Sections:

Choose Add section:

Add new code section from the Text group:

In the section settings, you can add your HTML code:

Save the theme editor after adding your code:

Still need help? Contact Us Contact Us