Shopify themes, liquid, logos, and UX
Thanks in advance!
I’m looking to change the cart bubble location and the cart number location on mobile view. I changed the location of the bubble on pc version already, so I’m just looking to change the mobile version. Example shown below.
Example of what my site looks like:
https://decemberschild.com
password: dc
Solved! Go to the solution
This is an accepted solution.
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>
@media screen and (max-width: 767px){
.cart-count-bubble {
left: 20px !important;
top: 0 !important;
}
.cart-count-bubble span {
margin-left: 0 !important;
}
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
@MMast - please add this css to the very end of your base.css file and check
@media screen and (max-width:749px){
.cart-count-bubble{bottom: 0.5rem; left: 1.2rem;}
}
This is an accepted solution.
Hi @MMast
You can solve it by adding this code to theme.liquid file, after <head> tag
<style>
@media (max-width: 749px) {
.cart-count-bubble span {
margin-left: 0px !important;
}
}
</style>
- Found this helpful? Hit "Like" and "Accept as Solution"!
- 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.
This is an accepted solution.
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>
@media screen and (max-width: 767px){
.cart-count-bubble {
left: 20px !important;
top: 0 !important;
}
.cart-count-bubble span {
margin-left: 0 !important;
}
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
@MMast - please add this css to the very end of your base.css file and check
@media screen and (max-width:749px){
.cart-count-bubble{bottom: 0.5rem; left: 1.2rem;}
}
This is an accepted solution.
Hi @MMast
You can solve it by adding this code to theme.liquid file, after <head> tag
<style>
@media (max-width: 749px) {
.cart-count-bubble span {
margin-left: 0px !important;
}
}
</style>
- Found this helpful? Hit "Like" and "Accept as Solution"!
- 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.
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