Hi, would one of you legends mind helping me with some instructions on how to hide the header and footer on a new page template which is going to be a landing page?
I am using the Flex Theme 3.3.0
THANK YOU!
Hi, would one of you legends mind helping me with some instructions on how to hide the header and footer on a new page template which is going to be a landing page?
I am using the Flex Theme 3.3.0
THANK YOU!
Hi @PS7
I would like to give you a solution.
Go to Online Store → Theme → Edit code. https://prnt.sc/js2u9lX4TESb
Open your theme.liquid file.
Paste the below code after tag.
{% if request.path contains 'XXX' %}
{% endif %}
Replace the markup with the page handle where you want to hide the header and footer.
Best regards,
GemPages Support Team
Hi @PS7
You can try this code by following these steps:
Go to Online store => themes => actions => edit code and add this code on file theme.liquid before tag
{% if request.path contains 'name_page_you_need_hide' %}
{% endif %}
If the code doesn’t please share the URL of your store so I can check more.
Hope this answer helps.
Best regards,
Victor | PageFly
Hi @PS7 ,
You can create a new page template from your Shopify admin > Sale channels > Online stores > Themes > Customize > click on dropdown menu on the top > Pages > Create template, hide Header and Footer sections and click Save
@GemPages thank you! just want to check on thing… you say to paste the code below the tag but the image shows it as above. Would you mind confirming which one it is? Thanks.
Hi @PageFly-Victor , Thank you! Unfortunately, that didn’t work… the page I am trying to hide the header and footer on is https://tameandwildstudio.com/pages/enter-now, and I have attached an image of the code I added as per your instructions.
hI @Dan-From-Ryviu , thanks for your reply. I have tried that, but I don’t have the option to hide the header or footer sections. Why would it be that option isn’t available to me?
Hi, that option available on theme supports 2.0 Shopify OS only.
Hi @Dan-From-Ryviu , ok.. thanks. How do I upgrade to that?
I’m not sure if your theme support 2.0 OS Shopify but you can check if theres is any update version available in your Shopify store admin > Sale channels > Online store > Themes
@PS7 , I’ve noticed that the issue has been resolved. Please let me know if you have any other questions.