Shopify themes, liquid, logos, and UX
Hi,
I would like to remove the header, footer, Menu and announcement bar from this page only. https://kiki-health.com/pages/product-catalogue
Any help would be appreciated!
Thank you
Gina
Solved! Go to the solution
This is an accepted solution.
Hi @gina16 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code after <body>
<script>
if (window.location.pathname === '/pages/product-catalogue') {
document.querySelector('.sticky-header-enabled .shopify-section.header__outer-wrapper').style.display = 'none';
document.querySelector('.shopify-section.footer__parent').style.display = 'none';
}
</script>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hey @gina16
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if page.handle == "product-catalogue" %}
<style>
header, footer {
display: none !important;
}
</style>
{% endif %}
RESULT
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
@gina16 - add this code to the end of your theme.liquid file before </body> and check,
{% if page.handle == "product-catalogue" %}
<style>
.shopify-section.header__outer-wrapper {display:none; visibility:hidden;}
.shopify-section.footer__parent{display:none; visibility:hidden;}
</style>
{% endif %}
This is an accepted solution.
Hi @gina16 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code after <body>
<script>
if (window.location.pathname === '/pages/product-catalogue') {
document.querySelector('.sticky-header-enabled .shopify-section.header__outer-wrapper').style.display = 'none';
document.querySelector('.shopify-section.footer__parent').style.display = 'none';
}
</script>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hello @gina16
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Layout > theme.liquid and paste this at the bottom of the file:
{% if page.handle == 'product-catalogue' %}
<style>
.announcement-bar {
display: none;
}
.header {
display: none;
}
footer {
display: none;
}
</style>
{% endif %}
Hi @gina16
Please put this code in theme.liquid before body closing tag </body>
{%- if page.handle == 'product-catalogue' -%}
<style>
.announcement-bar {
display: none;
}
.header {
display: none;
}
footer {
display: none;
}
</style>
{%- endif -%}
Thanks!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025