YoavC
July 29, 2024, 11:43am
1
Hello Shopify Community,
I am trying to hide the footer from a specific page on my website. https://yocadesign.co.uk/pages/hello . I followed this thread https://community.shopify.com/post/2276489 but it did not work for me. Can anyone advise how to remove a footer from a specific page? Thank you in advance.
Moeed
July 29, 2024, 11:47am
2
Hey @YoavC
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
{% if page.handle == "hello" %}
{% endif %}
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @YoavC
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
{% if template == ‘page.hello’ %}
footer.footer.color-scheme-2.gradient.section-sections--21762209349959__footer-padding {
display: none !important;
}
{% endif %}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
YoavC
July 29, 2024, 11:55am
4
Thank you Moeed, it worked.
YoavC
July 29, 2024, 11:55am
5
Thank you for your quick response Techlyser_web, I used Moeed solution as they replied beforehand. Thanks again.
Moeed
July 29, 2024, 11:56am
6
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.