How can I capitalize text in the Dawn theme cart page?

Hello,

I am using Dawn theme. How can I make the title ‘Your cart is empty/Your cart’ (depending on whether something is in cart or not, to be written in caps on cart page?

Also, how can I make the ‘Continue shopping’ button be written in caps on cart page?

Thank you,

@AZ2024
Add this CSS code inside the Customizer > Theme Settings > Custom CSS

.cart__warnings h1.cart__empty-text, .cart__warnings .button {
text-transform: uppercase;
}

This didn’t work.

Hello @AZ2024 :waving_hand:

In Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom

.cart__warnings .cart__empty-text,
.cart__warnings .button {
    text-transform: uppercase !important;
}

The result

Hope that helps!

Thank you. That worked for when the cart is empty, but when the cart has something in it it still says ‘Your cart’ not in caps.

Can you please advise how this can also be in caps?

Thank you,

Hi @AZ2024 :waving_hand:

You can modify the code like this

.cart__warnings .cart__empty-text,
.cart__warnings .button,

cart-items .title–primary {
text-transform: uppercase !important;
}

Hi,

Neither cart empty/with items is in caps now