How can I create a video with text section in the Dawn theme?

I just discovered the error. It’s not about the code. It’s just a Shopify bug.

Do the following steps:

1- Copy and paste the code that I gave you previously.
2- You will see the following error: Invalid preset “Video with text”: cannot include blocks in preset because there are no blocks defined.
3- Delete the following code:

"presets": [
    {
      "name": "Video with text",
      "blocks": [
        {
          "type": "heading"
        },
        {
          "type": "text"
        },
        {
          "type": "button"
        }
      ]
    }
  ]

4- You will see the following error: Invalid JSON code in the schema tag.
5- Remove the comma from the “]”

6- Save the file.

7- At the top left, access the three dots (Customize theme).

puntos.PNG

7- Wait for the page to load completely and try to find and add the Image-with-text section, you will see that it does not appear.

8- Go back to “Edit code” in the three dots.

9- Add the comma that we eliminated.
10- Add the code that we removed.

11- Save the file.
12- You will no longer see any errors.
13- You can go back to the “Customizer” and add the new section: Video with text.

2 Likes