New Shopify Certification now available: Liquid Storefronts for Theme Developers

Help Removing Cart Icon - Spark Theme

Solved
Nutramedia
New Member
6 0 0

We are working on a site under the theme "Spark 3.2.2", the site is where we want it for now, but we would like to remove the shopping cart icon from the header. having trouble getting the code to hide the cart without causing additional issues. Help would be much appreciated...

Accepted Solution (1)
Moeed
Shopify Partner
3051 761 925

This is an accepted solution.

Hey @Nutramedia 

 

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

<style>
.header__icon-touch {
    display: none;
}
</style>

RESULT:

Moeed_0-1695837229187.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 9 (9)
Beae_Anthony
Shopify Partner
436 167 168

Hi @Nutramedia ,

Could you please share your store URL, so that I can help you 

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Blog
Nutramedia
New Member
6 0 0
Moeed
Shopify Partner
3051 761 925

Hey @Nutramedia 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Nutramedia
New Member
6 0 0
Moeed
Shopify Partner
3051 761 925

This is an accepted solution.

Hey @Nutramedia 

 

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

<style>
.header__icon-touch {
    display: none;
}
</style>

RESULT:

Moeed_0-1695837229187.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Nutramedia
New Member
6 0 0

thank you! 🙏

Moeed
Shopify Partner
3051 761 925

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Nutramedia
New Member
6 0 0

hey, that worked for the desktop version but took away the whole menu for mobile presentation? can you help?

Moeed
Shopify Partner
3051 761 925

Hey @Nutramedia 

 

Remove the previous code and add this new code with the same steps.

 

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

<style>
a.header__icon-touch.header__icon-touch--cart.no-transition {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1695908985316.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️