-
AuthorPosts
-
August 24, 2013 at 8:49 pm #190014
Hi,
so the system looks for my styles changes in custom.css correct? but is that only for LTR or both LTR & RTL? do I need to create a file some thing like custom-rtl.css for cases where there are style changes only for RTL ??
Thanks,
Raniphong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 26, 2013 at 12:20 pm #503458Hi Rani,
You can use one custom.css for both RTL and LTR. If you have any css styles for RTL only, you can put the overriden styles below:
bdo { direction: rtl; unicode-bidi: bidi-override; }i.e:
bdo { direction: rtl; unicode-bidi: bidi-override; }
.logo-image a {
display: none;
}.social-link {
display: none;
}
August 26, 2013 at 1:56 pm #503466very cool. I didn’t know this before. Thanks a lot 🙂
August 26, 2013 at 3:07 pm #503475Ok i have tried
bdo
and it didn’t work so I used the following code instead:htmlFor example i have the following style for LTR content:
.jamasshead .jamasshead-description h3 {
font-family: 'novecento_widedemibold', sans-serif;
font-size: 25px;
font-weight: normal;
line-height: 1.6;
margin: 0 0 20px;
width: 89%;
}and the the following style for RTL content:
html .jamasshead .jamasshead-description h3 {
font-family: 'Droid Arabic Kufi', 'novecento_widedemibold', sans-serif;
font-size: 27px;
font-weight: normal;
line-height: 1.8;
margin: 30px 0 20px;
width: 84%;
}phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 26, 2013 at 4:06 pm #503490Hi ranni,
Lets try with * or put your code under:
bdo { direction: rtl; unicode-bidi: bidi-override; }
as i mentioned.
August 26, 2013 at 6:08 pm #503508okay i have tried.
also works.
bdo { direction: rtl; unicode-bidi: bidi-override; } and CSS underneath it, didn’t work.
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 27, 2013 at 2:16 am #503521Hi rani,
I think you should use , since in this case:
bdo { direction: rtl; unicode-bidi: bidi-override; } works for one css class below it as I tested. -
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by phong nam 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum