Why aren't sections appearing on my Dawn theme pages?

I’m using the Dawn theme and can add sections to “Pages” templates but the sections don’t appear when I create a new page and select the template that I added the sections to. Is this a bug or am I doing something wrong?

Hello @snacky

There is a few things you can check to resolve this:

  • Make sure you’ve saved the changes to the template: When you make changes to a template, you need to save those changes for them to take effect. Be sure to click the “Save” button after adding sections to the template.
  • Check that the sections are marked as “editable”: In the Dawn theme, you can add editable sections to your templates by using the {% block %} tag in your code. Make sure that the sections you’ve added are marked as “editable” using this tag. For example, if you’ve added a section for a hero image, you might use the following code:
{% block hero %}

   

{% endblock %}
  • Check that you’re using the correct template: When you create a new page in your site, you’ll be asked to select a template to use. Make sure you’re selecting the template that you’ve added the sections to. If you’ve made changes to multiple templates, it can be easy to accidentally select the wrong one.

Hope this can help. Let us know if you have any further questions.

Regards,

AliReviews team.

Thanks for you response. I’ve definitely saved the template and I’m choosing it when creating a new page so it must be the editable tag issue. I’m not clear on where I add the code though. I don’t see any divs in the template json file.

I’m still can’t figure out where to add the block code in the template page to make it editable. Here’s an example from one of my template pages.

"3c101b85-d7ff-4336-98ee-29fc1001e815": {
      "type": "image-banner",
      "blocks": {
        "template--17450084073754__3c101b85-d7ff-4336-98ee-29fc1001e815-167833506482573d90-0": {
          "type": "heading",
          "settings": {
            "heading": "Image banner",
            "heading_size": "h1"
          }
        },
        "template--17450084073754__3c101b85-d7ff-4336-98ee-29fc1001e815-167833506482573d90-1": {
          "type": "text",
          "settings": {
            "text": "Give customers details about the banner image(s) or content on the template.",
            "text_style": "body"
          }
        },
        "template--17450084073754__3c101b85-d7ff-4336-98ee-29fc1001e815-167833506482573d90-2": {
          "type": "buttons",
          "settings": {
            "button_label_1": "Button label",
            "button_link_1": "",
            "button_style_secondary_1": false,
            "button_label_2": "Button label",
            "button_link_2": "",
            "button_style_secondary_2": false
          }
        }
      },