Jump to content

RTL theme not working


Recommended Posts

Hi. I am using prestashop 1.5.3.1

I want to modify my theme so it supports RTL languages(farsi)

I have created a folder named "rtl" inside theme/my_theme/css/

I have copied all the css files from css root to this folder

I modiefied the global.css in rtl folder.

But whenever my prestashops loads. The global.css which is in /my_theme/css will be loaded not the one in .../css/rtl

What should I do

plz help me

Link to comment
Share on other sites

1) Are you using English & Farsi on your store or just Farsi?

2) How can prestashop know that you have css file inside a folder name rtl? unless you added that in defines.uri.inc.php

3) If you are using only rtl language in your site, you can just add all the content of global.css to rtl.css

4) If you are going to use ltr & rtl on your site check this link http://promokit.eu/forums/topic/rtl-css/

Link to comment
Share on other sites

1) Are you using English & Farsi on your store or just Farsi?

2) How can prestashop know that you have css file inside a folder name rtl? unless you added that in defines.uri.inc.php

3) If you are using only rtl language in your site, you can just add all the content of global.css to rtl.css

4) If you are going to use ltr & rtl on your site check this link http://promokit.eu/f.../topic/rtl-css/

 

Yes I want to use both english and farsi.

How Can I define for example a root like this themes/my_theme/css/rtl in this defines.uri.inc.php?? my php is not good . I have not learned php yet, but I can understand the concepts of programming( Java-C++-Javascript programmer)

 

about that linke that you posted: in my situation the first css that is loaded is global.css ( not the rtl version ). global.css which is in rtl is never loaded.

Thanks for your reply :)

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...