Sections are not showing up in theme customize

Error: Home page This page doesn't have any sections. Edit theme settings

Home page - This page doesn't have any sections.

Solutions: Make sure you have {{ content_for_header }}, {{ content_for_layout }}, and {% section 'header' %} in your theme.liquid file. Add a header.liquid file in the sections folder, it can be an empty, it doesn't matter.

<!DOCTYPE html>
<html>
<head>
    <title>Joe Pichardo</title>

    {{ content_for_header }}
</head>
<body>

{% section 'header' %}
{{ content_for_layout }}

</body>
</html>
In the index.liquid make sure you have {{ content_for_index }} in the file.
Joe Pichardo | Shopify Developer

About Joe Pichardo

Joe Pichardo is a Shopify Developer creating themes and apps to help other programmers succeed on the ecommerce platform.

Having trouble? Ask for help.