Hide PreFooter at cart page

Solved

Hide PreFooter at cart page

Fussigabor
Excursionist
18 0 2

Hello! In the Pre-Footer section of our website we have subscribe to the newsletter block,  which we want to hide on the cart page. Is it possible? Could you please help me?

Our cart/shop:

https://bogrebarat.hu/cart

Accepted Solution (1)

Rahul_dhiman
Shopify Partner
564 113 110

This is an accepted solution.

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 template.name == 'cart' -%}
<style>
.index-newsletter {
    display: none;
}
</style>
{%- endif -%}

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

View solution in original post

Replies 7 (7)

ZestardTech
Shopify Partner
5776 1052 1392

Hi @Fussigabor 

Do you want to hide this section?

ZestardTech_0-1726570293420.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
Fussigabor
Excursionist
18 0 2

Hello! Yes. 🙂

ZestardTech
Shopify Partner
5776 1052 1392

Hi @Fussigabor 

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 template != 'cart' %}
    <style>
      #Newsletter--sections--23453488906579__section_newsletter_X9jLEe {
        display: none!important;
      }
    </style>
{% endif %}

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

Bundler-Manuel
Excursionist
165 8 20

Hello there! @Fussigabor to hide the footer section all you need to do is make minor changes to the code. You can see all the steps you should need clearly here https://www.hulkapps.com/blogs/shopify-hub/mastering-the-art-of-removing-headers-and-footers-in-shop... 

Emmanuel
Please let me know if it works by marking it as a solution!
Bundler - Product Bundles app, a great bundle app for Shopify, with glowing user testimonials and a free plan.
Fussigabor
Excursionist
18 0 2

Hm, I don't quite understand what the code should look like.

Sangeetanahar
Explorer
541 36 69

hello @Fussigabor 

Go to online store ----> themes ----> actions ----> edit code ---->assets ---->theme.css...>.
add the code end of the file

.card-page.section-padding.wrapper--full {
    display: none;
}

Buy me a Pizza


If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

Rahul_dhiman
Shopify Partner
564 113 110

This is an accepted solution.

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 template.name == 'cart' -%}
<style>
.index-newsletter {
    display: none;
}
</style>
{%- endif -%}

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167