Re: Capitalize Text in Button on the Cart

Solved

How can I capitalize the 's' in shopping cart button text?

flammagreg
Trailblazer
276 0 39

How can I capitalize the "s" in shopping? Any help is greatly appreciated!

Screenshot 2024-01-24 at 7.56.15 PM.png

Accepted Solution (1)

PageFly-Oliver
Shopify Partner
878 190 185

This is an accepted solution.

Hi @flammagreg ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
.cart-drawer__empty-content .button{text-transform: capitalize;}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
10951 2148 2287

Hi @flammagreg 

You can go to your Online store > Themes > Edit default theme content, find this text, and capitalize the "s."

Screenshot 2024-01-25 at 08.52.40.pngScreenshot 2024-01-25 at 08.52.31.png

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- 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: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

PageFly-Oliver
Shopify Partner
878 190 185

This is an accepted solution.

Hi @flammagreg ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
.cart-drawer__empty-content .button{text-transform: capitalize;}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.