AZ2024
February 26, 2024, 11:08pm
1
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,
RMedia
February 27, 2024, 12:17am
2
@AZ2024
Add this CSS code inside the Customizer > Theme Settings > Custom CSS
.cart__warnings h1.cart__empty-text, .cart__warnings .button {
text-transform: uppercase;
}
Hello @AZ2024
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!
AZ2024
February 27, 2024, 11:41pm
5
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
You can modify the code like this
.cart__warnings .cart__empty-text,
.cart__warnings .button,
cart-items .title–primary {
text-transform: uppercase !important;
}
AZ2024
February 28, 2024, 2:44am
7
Hi,
Neither cart empty/with items is in caps now