Schema not displaying properly in my customizer

IAmConfused
New Member
1 0 0

I have been learning to add schema to my profile and I have been having issues with it showing appropriately in my customizer. I want it to display like this ( https://imgur.com/a/EX1qAIv ) with the add image block but it displays like this ( https://imgur.com/a/dFC6Kkb ). I've asked in a couple places but I haven't got an answer. Is there a piece of code I am missing?

here is my code:

<h3>{{section.settings.heading}}</h3>
<p>{{section.settings.description}}</p>

{% schema %}

{
"name" : "icons with text above",
"settings" : [
{
"type" : "text",
"label" : "your headline for the section",
"id" : "heading"
},
{
"type" : "richtext",
"label" : "your description",
"id" : "description"
}
],
"blocks" : [
{
"type" : "image",
"name" : "image block",
"settings" : [
{
"type" : "image_picker",
"label" : "your image",
"id" : "image"
}
]
}
],
"presets": [
{
"name":"icons with text above",
"category":"image"
}
]
}

{% endschema %}

 

hopefully someone knows this answer because I feel its just a simple thing i am missing

0 Likes