So I wanted to get rid of the header on my store to replace it with one from a page builder, and I went into the code and deleted a few header related code sections, and the header did go away, but now I have the “Liquid error: Error in tag ‘section’ - ‘header’ is not a valid section type” error code to deal with. Is there any way I could not have the header and also get rid of this error code that comes up on my website? Thank you!
@velar Hello you might have any tag which doesnt exists you need to comment out or delete it
What do you mean by this?
Example: In theme.liquid you might have {% section ‘header’ %}
But there is no header.liquid file under sections in theme
You have to delete the line {% section ‘header’ %}
or comment out like this
{% comment %}
{% section ‘header’ %}
{% endcomment %}
1 Like
Thank you, this worked for me!
@velar You welcome!