Dawn Theme: How to make the text size of "Your cart is empty" smaller.

Solved

Dawn Theme: How to make the text size of "Your cart is empty" smaller.

boxy1
New Member
5 0 0

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.

Accepted Solution (1)

polo_msweb
Shopify Partner
18 1 4

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 

View solution in original post

Replies 7 (7)

BSS-TekLabs
Shopify Partner
2401 695 827

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
boxy1
New Member
5 0 0

I have followed these instructions but it has not worked for me, thanks

 

Moeed
Shopify Partner
6563 1782 2158

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

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


BSSCommerce-TC
Shopify Partner
225 49 51

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


BSS Commerce - Full-service eCommerce Agency
boxy1
New Member
5 0 0

I have tried this too and it does not work for me, thanks

polo_msweb
Shopify Partner
18 1 4

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 

boxy1
New Member
5 0 0

Hi there, this has worked, thanks very much!