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 |
---|---|
230 | |
148 | |
55 | |
52 | |
46 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023