All things Shopify and commerce
Hi how can i remove my announcement bar and footer menu on the shopping cart ONLY
website url is luva-parfums.nl
thanks
Solved! Go to the solution
This is an accepted solution.
check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
{% if template.name == 'cart' %}
<style>
.shopify-section-group-header-group, footer.footer {
display: none;
}
</style>
{% endif %}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
You like to leave the header right, yes we can do that. Please, replace the code on this code below. Thanks!
{% if template.name == 'cart' %}
<style>
.announcement-bar, footer.footer {
display: none;
}
.utility-bar--bottom-border {
border: 0;
}
</style>
{% endif %}
And save.
Example Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
{% if template.name == 'cart' %}
<style>
.shopify-section-group-header-group, footer.footer {
display: none;
}
</style>
{% endif %}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Is there a way to edit the code so it would still show the menu bar on top and just delete the 2 announcement bars? Now it deleted the entire header section. tnx
This is an accepted solution.
You like to leave the header right, yes we can do that. Please, replace the code on this code below. Thanks!
{% if template.name == 'cart' %}
<style>
.announcement-bar, footer.footer {
display: none;
}
.utility-bar--bottom-border {
border: 0;
}
</style>
{% endif %}
And save.
Example Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025