Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How do I align all the text on the checkout page to LTR?

How do I align all the text on the checkout page to LTR?

JonBoy18
Tourist
8 0 2

I'm using the Whisper theme on my Shopify store, and I need to align all the text on the checkout page to be left-to-right (LTR). Could someone guide me on how to make this adjustment?

rtl -ltr.png

 

URL - https://babyshield.online/

Thnak you!!

Reply 1 (1)

anupam1607
Shopify Partner
53 10 10

Yes, you can change the alignment of the Checkout text from Left-to-Right (LTR) to Right-to-Left (RTL) in Shopify. However, Shopify doesn't provide a direct option in the admin panel to change the text direction. You will need to customize the checkout process by adding custom CSS

.checkout .field__input-wrapper, 
.checkout .content, 
.checkout .order-summary__section {
    direction: rtl;
    text-align: right;
}

or JavaScript

document.addEventListener('DOMContentLoaded', function() {
    document.querySelector('body').style.direction = 'rtl';
});
Buy me a coffee.
- Was your question answered? Mark it as an Accepted Solution. ❤️
- Don't forget to give me Thumbs Up.
- Store, Product and Collection Modifications | Apps and Sales Channel | Animation
- Lets connect anupammistry1607@gmail.com 