1

The original code is English

    direction: ltr;

but when i change language to arabic the code changes to

    direction: rtl;

I want all website to be changed from ltr to rtl but I don't want some specific blocks to be changed from ltr to rtl. please give me suggestions and I have searched but this is not correct answer because i want to make changes in css file not in other files. code for language direction changes css

dave
  • 4,812
  • 4
  • 25
  • 38

2 Answers2

0

Try using different blocks with different id/class

and assign direction for the required block

Sanjeev S
  • 1,113
  • 2
  • 13
  • 33
0

Assigning the style to the specific div with direction should fix the issue:

.the_required_block{
  direction: ltr;
}

Also, considering that you have the div .ab__deal_of_the_day{} for rtl; you might need to do the following fix for specificiation:

.ab__deal_of_the_day .the_required_block{
  direction: ltr;
}

Cheers!

sushil10018
  • 126
  • 8