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!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025