Shopify themes, liquid, logos, and UX
Hello everyone,
I am currently building a Shopify Theme based on the Debut Theme to learn more about Shopify Theme Development. I created my own hero.liquid file with a Schema tag to allow the hero to be customized from the Shopify admin.
I managed to get the hero section to work but then shortly after, it disappeared from the Shopify admin.
I thought that the issue might be with my settings_data.json file so I deleted everything inside of it but I still can't get the section from my hero.liquid file to show up
I can get every other liquid section to work properly except for this one, so I have a couple of questions.
Solved! Go to the solution
This is an accepted solution.
Hi @pierrewebdev,
You changed sections/hero.liquid file and it disappears this section in "Add section" of Customize.
Refer https://i.imgur.com/MPApeEQ.png
Is this your question?
If so, just go to hero.liquid file and add "presets" in "schema", it will work fine. https://i.imgur.com/21vfhiV.png
Code:
"presets": [
{
"name": "Image with text overlay",
"category": "Image"
}
]
Hope it helps!
This is an accepted solution.
Hi @pierrewebdev,
You changed sections/hero.liquid file and it disappears this section in "Add section" of Customize.
Refer https://i.imgur.com/MPApeEQ.png
Is this your question?
If so, just go to hero.liquid file and add "presets" in "schema", it will work fine. https://i.imgur.com/21vfhiV.png
Code:
"presets": [
{
"name": "Image with text overlay",
"category": "Image"
}
]
Hope it helps!
Thank you so much for the reply. Now I will be able to deal with this issue if it happens again.
User | RANK |
---|---|
186 | |
170 | |
80 | |
55 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023