A user wanted to create two variants of the “Image with Text” section in their Shopify theme—one using an h1 heading and another using h2—and have both appear separately in the Theme Customizer.
Solution provided:
Duplicate the existing section file (e.g., sections/image-with-text.liquid) and rename it (e.g., image-with-text-h2.liquid)
Copy the original code into the new file
Modify the {% schema %} block to change the section name and preset name so it displays distinctly in the customizer
Outcome:
The solution was confirmed to work. The original answer that was marked as the solution was deleted by its author, but another user provided the same steps with code examples.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
I want to use two variants of some of the sections of my theme, like Image with Text, one with h1 heading and other with h2 heading.
Can I make a copy of existing “Image with Text” section in my theme and create a copy of that section with a different name? If yes, how to make it appear with a different name in Theme Customizer interface?
Yes! You can duplicate a section and make it appear separately in the Theme Customizer.
Steps:
1 Go to Online Store → Themes → Edit Code. 2 Find sections/image-with-text.liquid. 3 Create a copy: Add a new section, e.g., image-with-text-h2.liquid. 4 Copy & paste the code from the original section.
Modify the section name in {% schema %}:
{
"name": "Image with Text - H2"
}
"presets": [
{
"name": "Image with Text - H2",
"category": "Text"
}
]