Shopify themes, liquid, logos, and UX
Hey, I have managed to change the cart icon for both desktop and mobile versions and I would like to know if there is a way to adjust the position and color of the cart icon bubble for both desktop and mobile versions. I will add a picture of the issue and outcome below. I would appreciate any help with this issue, thank you in advance!
My store: https://bellevodesign.com/
Picture of the issue:
Desired outcome:
Solved! Go to the solution
This is an accepted solution.
Hi @bellevo, Pls insert this code to your file css:
.cart-count-bubble {
left: 1.6rem !important;
top: 4px !important;
background-color: #b98980 !important;
}
Here is result:
Hope this can help you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @bellevo,
You can go to Online store -> Themes -> Edit code, find "base.css" file and add this code to bottom:
.header .cart-count-bubble {
top: 5px;
right: 12px;
left: auto;
bottom: auto;
background: #ba8980; /* Replace by your background colour */
color: black; /* Replace by your text colour */
line-height: 1.7rem;
}
Hope this helps.
This is an accepted solution.
Hi @bellevo,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Inside head tags. You need create style tags. After insert my code inside style tag
.cart-count-bubble {
left: 1.6rem !important;
top: 4px !important;
background-color: #b98980 !important;
}
Hope this can help you
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
@bellevo - can yo please give this required color shade?
This is an accepted solution.
Hi @bellevo, Pls insert this code to your file css:
.cart-count-bubble {
left: 1.6rem !important;
top: 4px !important;
background-color: #b98980 !important;
}
Here is result:
Hope this can help you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This worked, but only on desktop if there is a way to do it on mobile as well I would appreciate it a lot! Thanks again!
This is an accepted solution.
Hi @bellevo,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Inside head tags. You need create style tags. After insert my code inside style tag
.cart-count-bubble {
left: 1.6rem !important;
top: 4px !important;
background-color: #b98980 !important;
}
Hope this can help you
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
You are a lifesaver thank you once again!
Hello @bellevo ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your base.css file and paste the following code at the bottom:
.cart-count-bubble {
background-color: #edcced !important;
bottom: 2.6rem !important;
left: 1.5rem !important;
}
Change color code if you want.
Thanks
@bellevo - add this css to the very end of your bae.css file and check , add color shade in place of red as per your choice
.cart-count-bubble{bottom: 1.8rem; left: 1.2rem; background-color:red;}
This is an accepted solution.
Hi @bellevo,
You can go to Online store -> Themes -> Edit code, find "base.css" file and add this code to bottom:
.header .cart-count-bubble {
top: 5px;
right: 12px;
left: auto;
bottom: auto;
background: #ba8980; /* Replace by your background colour */
color: black; /* Replace by your text colour */
line-height: 1.7rem;
}
Hope this helps.
This worked, but only on desktop if there is a way to do the same on mobile I would appreciate it, thank you!
Hello @bellevo
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
header .cart-count-bubble {
background-color: rgb(179 66 66 / 65%) !important; /* add your background colour */
bottom: 2.8rem !important;
left: 1rem !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @bellevo
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.cart-count-bubble {
top: 10% !important;
background: hsl(11deg 63.6% 61.32% / 53%) !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Thank you everyone for help, the issue has been fixed on desktop version, if anyone knows how to do the same for mobile, I would appreciate it a lot! Thank you guys in advance!
Picture of the desired outcome:
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025