Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Change Cart Icon to word CART on both Desktop & Mobile (PUBLISHER THEME)

Change Cart Icon to word CART on both Desktop & Mobile (PUBLISHER THEME)

kritikozzz
Excursionist
37 0 4

Hi,

 

web: www.aurabyangelo.com

theme: publisher 

 

Code request: I am looking to change the cart icon on desktop and mobile to the word CART (*2) *number of items in cart. I tried another code i found on here but the number of items in cart was covering the word CART. 

 

*Bonus points if words MENU and CART on mobile can align nicely. 

Thank you!

 

Angelo

 

 

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
10261 2038 2109

Hi @kritikozzz 

You can do that by adding this code at the bottom of your base.css file 

 

.header__icon, .header__icon--cart .icon {
display: none !important;
}
.header__icon, .header__icon--cart span.visually-hidden {
clip: unset !important;
width: auto !important;
color: #000 !important;
text-transform: uppercase;
}
header-drawer { 
margin-top: 20px !important; 
margin-left: 0px !important;
}
.cart-count-bubble {
bottom: 2.8rem !important;
left: 3.2rem !important;
}

 

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- 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: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

kritikozzz
Excursionist
37 0 4

Hi, thanks for the reply. This code completely made my MENU and CART vanish on mobile. Also made the cart vanish on desktop.