1 (edited by Alaa 05/25/2017 10:02:58 am)

Topic: Calling different stylesheet for RTL.

Hello,
i am working on a new theme for FA.. Calling it Elite FA which should look great on both Arabic and English, i'll be sharing it with you once ready if you like.

Right now FA  calls one stylesheet file "default.css"
How can i call a different stylesheet file, like "rtl.css" when the user switch the language to Arabic or any other RTL language.

Here is what i got so far.

EN Version | https://ibb.co/gNAVca
AR Version | https://ibb.co/eYXyVv

Regards.

Post's attachments

Screenshots.zip 424.9 kb, 1 downloads since 2017-05-25 

You don't have the permssions to download the attachments of this post.

Re: Calling different stylesheet for RTL.

Hi,

These themes looks awesome. Very good indeed.

You could still use the default.css for common styles. Then you can call another style sheet inside the beginning of the body section. F.i. test for the rtl or arabic language and include the specific style sheet. And for other languages you simply include the other style sheet.

I am looking forward to see the final themes. Thanks.

Joe

Re: Calling different stylesheet for RTL.

@joe
Thanks bro,,
Glad you like it..

Yes.. including additional .css file for just overwriting the styles that need to be changes is much better..
Thank You.

Re: Calling different stylesheet for RTL.

Hello,,
i am done with the Arabic "rtl" version of my FA theme,, English should follow soon.
https://ibb.co/gBn3v5