Tutorial: 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
Edit code - Example from live theme:
In the Sections folder, choose Add a 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:
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: