How to code a Refrch theme for RTL in Arabic

How to code a Refrch theme for RTL in Arabic

MohKhaled
Visitor
1 0 0

I am using Refresh theme, Is there a way to make the Arabic text orientation RTL ?

Reply 1 (1)

BSSCommerce-B2B
Shopify Partner
1972 564 568

Hi @MohKhaled ,

You can try this way: 

1.  Please navigate to Online store => Themes => Edit code.

2.  Search for the file base.css, theme.css, styles.css or theme.scss.liquid (depend on your theme). And add this code snippet to the end of the file.

 

/* Set Arabic text orientation to RTL */
body {
    direction: rtl !important;
    text-align: right !important;
}
/* OR */
/* Apply RTL only to a specific section with Arabic content */
.arabic-text {
    direction: rtl !important;
    text-align: right !important;
}

 

3. Save the changes, and your Arabic text should now be displayed in RTL orientation. 

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now