Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Dawn Theme: How to make the text size of "Your cart is empty" smaller? The text size is too large when viewed on a mobile device.
Solved! Go to the solution
This is an accepted solution.
Hi @boxy1,
This is Polo from MS Web Designer. I would love to assist you with your query.
Here is the solution:
1. Open Online Store > Theme > Edit Code
2. Find and open the base.css (or theme.css, custom.css) file
3. Paste the code snippet below at the bottom of the file and hit save
@media screen and (max-width: 768px) {
.cart__empty-text {
font-size: 12px; / can you adjust font size accordingly
}}
If you have any doubt, please feel free to reach me.
Regards
Polo
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Speed Optimization and Any Custom Shopify tasks
email: task4store@mswebdesigner.com
Download Free Shopify Speed Optimization Guide book for 2024
Hi @boxy1,
You can follow these steps to make the effect
1. Open Online Store > Theme > Edit Code
2. Find and open the base.css (or theme.css, custom.css) file
3. Paste the code snippet below at the bottom of the file and hit save
.cart__empty-text {
/* You can this value to the font-size of your choice */
font-size: 12px;
}
Hope this helps you solve the issue.
Please don't forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank you!
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
I have followed these instructions but it has not worked for me, thanks
Hey @boxy1
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hi @boxy1 ,
You can follow these steps
Step 1: Go to Online store > Themes > Edit code and find base.css file
Step 2: Insert below code at the end file and Save them
@media screen and (max-width: 750px) {
.cart__empty-text {
font-size: 16px !important;
}
}
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
I have tried this too and it does not work for me, thanks
This is an accepted solution.
Hi @boxy1,
This is Polo from MS Web Designer. I would love to assist you with your query.
Here is the solution:
1. Open Online Store > Theme > Edit Code
2. Find and open the base.css (or theme.css, custom.css) file
3. Paste the code snippet below at the bottom of the file and hit save
@media screen and (max-width: 768px) {
.cart__empty-text {
font-size: 12px; / can you adjust font size accordingly
}}
If you have any doubt, please feel free to reach me.
Regards
Polo
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Speed Optimization and Any Custom Shopify tasks
email: task4store@mswebdesigner.com
Download Free Shopify Speed Optimization Guide book for 2024
Hi there, this has worked, thanks very much!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024