Removing cart from Home page

Solved
Highlighted
New Member
3 0 0

Hello! 

I need to remove cart icon from Home page ( https://lunigiana-food-delivery.myshopify.com/?_ab=0&_fd=0&_sc=1&key=27df51ca8345d782d9800297d9b35f2... ) and just from that page. 

Please keep in mind I have only little coding knowledge so I would need simple instructions. 

Thank you for your time in advance! 

0 Likes
Highlighted

This is an accepted solution.

Hey @Morek,

 

Please try this code:

.template-index .site-header__cart{
display: none;
}

You need to add this code to the end of the theme.scss.liquid file.

 

To find this file, from your Shopify Admin, go to Online Store > Themes > Actions > Edit Code.

 

Hope this helps.

 

- Tips to optimize website loadspeed: academy.pagefly.io/how-to-speed-up-website

- Do you need to customize your landing page, product page, blog, coming soon, FAQ, about us pages? Check out PageFly - Advanced Shopify Page Builder.
0 Likes
Highlighted
New Member
3 0 0

Great! It works! 

Thanks! 

0 Likes
Highlighted
New Member
4 0 0

I'm trying to remove the shopping bag from my header on the Emerge theme. I tried using this code, but it didn't work. Is there a different code to use?

0 Likes