Making your forum Right-To-Left
#1
Below details the changes necessary in order the make your forum right-to-left.

In the language file inc/languages/*yourlanguage*.php you should see $langinfo['rtl'] = 0; change it to $langinfo['rtl'] = 1;

Then you need to edit the theme you're using to find (under the Page Container options):
	text-align: left; /* IE 5 fix */

Change it to:
	text-align: right; /* IE 5 fix */

Then in the Additional CSS area find:
.float_left {
	float: left;
}

.float_right {
	float: right;
}

Replace with:
.float_left {
	float: right;
}

.float_right {
	float: left;
}
Reply
#2
I did all you said but my table headers are still left aligned. The collapse buttons are in correct position but texts are not.

What can i do?

I added a picture of my forum to attachment.


Attached Files Thumbnail(s)
   
Reply
#3
themes

global.css

change left to right

worked for me
Reply
#4
Quote:Then you need to edit the theme you're using to find (under the Page Container options):

hello,
i don't know where is the change needs to be done.
where is the "page container options" located?

would appreciate if you assist.
tnx
LLOVE FROM ISRAEL
Reply
#5
look in the global.css of your theme!
 
Reply
#6
(2024-09-13, 03:23 PM)bv64 Wrote: look in the global.css of your theme!

tnx, i've found it.. under "#CONTAINER"!! in the global.css

i just changed it to "right" and did not added the internet explorer thing because i didn't existed beforehand.... should i add it


and now i need to know where i find "Additional CSS area".. i've tried to open the long list but it wasn't there.....
where can i find it?
LLOVE FROM ISRAEL
Reply
#7
look forward in the global.css if you find something like

.float_left {
 
Reply
#8
thanks....

is it possible to fix this overlapping with the logo?
   
LLOVE FROM ISRAEL
Reply
#9
(2024-09-13, 07:32 PM)HAFOOCH Wrote: thanks....

is it possible to fix this overlapping with the logo?

anyone?
LLOVE FROM ISRAEL
Reply
#10
URL?

I use browser tools to identify the element, then look at the css that's controlling the display of the element.
It may be that padding is specified uniformly, but would work better if more is on top of the menu block or more on bottom of the logo block.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)