Loading

Author Topic: Right to left themes  (Read 1454 times)

sajjadnajafi

  • Newbie
  • *
  • Posts: 23
    • Email
Right to left themes
« on: October 04, 2011, 11:10:41 pm »
hello
Similar threads are discussed in this regard but because the templates are updated and The topics no updated!
Also, because the topics are older person does not respond!
So I asked the administrator to solve the problem of right to left language  to the pin threads.

This is the only templates right to left
« Last Edit: November 30, 2011, 03:17:01 pm by Juan Ramón »

Juan Ramón

  • OSClass Developer
  • Hero Member
  • *****
  • Posts: 2243
    • osclass.org
    • Email
Re: Right to left themes
« Reply #1 on: October 13, 2011, 02:15:18 pm »
From now, we should update this topic with the right to left themes.

akapar

  • Premium
  • Full Member
  • *****
  • Posts: 148
Re: Right to left themes
« Reply #2 on: November 30, 2011, 12:36:33 pm »
Sajjad,

My site ( 05suq.com ) uses right to left version of OSClass's default modern theme. I did the customization myself, it was not really too difficult to change a left-t-right theme to right-to-left. If any help needed pls let me know.

kn3an

  • Newbie
  • *
  • Posts: 3
Re: Right to left themes
« Reply #3 on: January 26, 2012, 06:15:38 pm »
I  dont know why the users keep the knowledge there selves
 
Brother sajjadnajafi it easy to make the theme to rtl
* go to all .php files in the oc-content->themes->modern (or what else) open it with notpad++ search for code
Code: [Select]
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<?php echo str_replace('_''-'osc_current_user_locale()); ?>">you see worl (ltr) just change it to rtl and save .
you now make the theme go rtl (from left to right) -
Go to file style.css in the same folder open it :
You must know alittle css to make changes , most important codes here is :
 * float:left
 * float:right
here change word left to right and right to left (not all must change you can try to change and see what will happen to theme by making save and reload the browser) .
 * text-align:
the same way with float .
there more codes for the fonts (size,color, type ... ect)
the best font-type for Arabic is Tahoma (u can add it to the reset types not delete them).
also u find the codes for background color , padding ... ect.
here my site http://kn3an.com
Any questions i am here
GOOD LUCK