Shopify themes, liquid, logos, and UX
Hello, I successfully removed the cart icon from the desktop version of my site that uses the Pipeline theme. But it still shows up on the mobile version. Anyone know how to remove it? My site is Unstickit.com. thank you!
Solved! Go to the solution
This is an accepted solution.
Hi @stevenunstick ,
You can remove the cart icon by adding a simple line of css.
In your shopify store go to onlinestore > themes > click on the three dots in your theme> edit code
Here, you can search for theme.css in your left side bar.
And paste this code there.
.header__mobile__right .header__mobile__button {
display: none !important;
}
I hope this helps! If it does, please like it and mark it as a solution!
Regards,
Sweans
You can add the style .header__mobile__right { display: none } or remove the div container with the class header__mobile__right in sections/header.liquid.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag
<style>
.header__mobile__right .header__mobile__button {
display: none !important;
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Please go to your Online store > Themes > Edit code > theme.liquid file, add this code after <head> and save file
<style>
a[data-drawer-toggle="drawer-cart"] { display: none !important; }
</style>
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hello @stevenunstick
Go to online store ---------> themes --------------> actions ------> edit code------->Theme.css -----> line number 14244
search this code
.header__mobile__right .header__mobile__button {
display: flex;
justify-content: flex-end;
padding-right: 0;
}
and replace with this code.
.header__mobile__right .header__mobile__button {
display: none !important;
justify-content: flex-end;
padding-right: 0;
}
and the result will be
If this was helpful, hit the like button and mark the job as completed.
Thanks
This is an accepted solution.
Hi @stevenunstick ,
You can remove the cart icon by adding a simple line of css.
In your shopify store go to onlinestore > themes > click on the three dots in your theme> edit code
Here, you can search for theme.css in your left side bar.
And paste this code there.
.header__mobile__right .header__mobile__button {
display: none !important;
}
I hope this helps! If it does, please like it and mark it as a solution!
Regards,
Sweans
I am trying to remove the cart icon from my mobile site also, but the suggested CSS edits have not worked for me. Any other advice? Thank you!
Never mind - I figured it out! I had to apply the code at line 13988 on the Pipeline theme so that it was applied to mobile properly. Thank you!
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