Hello, I’d like to create a page in the wokiee theme without a header and footer. Anyone done this before or knows how to do that? Any help would be appreciated.
Hello @lauyen ,
The concept to make page without header and footer is same for all themes.
You have to make header and footer conditional. Lets say I have a page ‘about-us’ where I don’t need header and footer. So what I have to do is warp all the header/footer code in if condition.
e.g ) {% if page.handle != ‘about-us’ %} Here my existing code of header {% endif %} and same condition will applied for footer.
Thanks
@Guleria great thanks! That worked.
1 Like
Oh one more question, would this be possible for the homepage as well?
Yes {% if page.handle != ‘about-us’ or template != ‘index’ %} Here my existing code of header {% endif %}
1 Like