Problem with blocks or RTL

Problem with blocks or RTL

by mohammad jorjandi -
Number of replies: 4
sorry i'm newbie in moodle and php
and dont sure this is right forum for my question
 , my language is FARSI(like arabic) and i what to change all thing to RTL for example you can see on this picture i cant move header of block to RIGHT, any one can help me?
block
Average of ratings: -
In reply to mohammad jorjandi

Re: Problem with blocks or RTL

by James Ballard -
Hi

Try:

.title {
    text-align:right;
    }

in your CSS files- this should do it.

yours
James
In reply to James Ballard

Re: Problem with blocks or RTL

by mohammad jorjandi -
no i try that and dont work for me

what i must to do??
In reply to mohammad jorjandi

Re: Problem with blocks or RTL

by James Ballard -
I made two changes to standard white:

body {
text-align:right;
}
.title {
text-align:right;
}

and then run replace all on text-align:left with right through Dreamweaver (changed footer) and everything has right-aligned on my site (except headers which I never changed). You may need to check the classes and where they inherit from and use a process of elimination. I hit .title first time and it worked for me. There is possibly a repeat in another CSS file that is resetting it to left. If you view selected source of where you are and set all the classes to right align you may be doing overkill but you can eliminate them by removing it one at a time.

yours
James

PS: I am using both 1.5.2 and 1.5.3 in case that makes a difference

Attachment rightalign.png
In reply to James Ballard

Re: Problem with blocks or RTL

by mohammad jorjandi -
tx man
in formal_white theme i dont have this code in CSS , add manually and Problem FIXED NOW

thank you man kiss
sorry me for my poor english