1 (edited by krko 2008-05-07 15:51)

Topic: PunBB and right-to-left languages

Hello all,

I'm trying out PunBB and I must say I'm really impressed with this forum. I have a small question though. I need this forum to be in Hebrew which is written from right-to-left and I have a small display issue. You can see a sample post I made here to clarify what I'm talking about: REMOVED THE LINK SO IT DOESN'T GET PICKED BY SEARCH ENGINES BECAUSE THE SITE IS NOT READY YET.
I've been playing around with the base.css file and I pretty much figured it out, but as you can see the cells in the post itself are reversed. I'd like to have the member name cell (the light grey cell) aligned to the right and the post itself (the dark grey cell) to the left and not vice versa as it is now. I hope I'm explaining myself well enough.

My question is, how do I do it. I've tried just about everything but couldn't get it to display nicely.

Thank you for the help.

Goran

Re: PunBB and right-to-left languages

Hey, krko. Welcome to the forums.

IN style/imports/base.css FIND (line 175)

DIV.postleft, DIV.postfootleft {
    FLOAT:left;
    WIDTH: 18em;
    OVERFLOW: hidden;
    POSITION: relative;
}
    
DIV.postright, DIV.postfootright {
    BORDER-LEFT-WIDTH: 18em;
    BORDER-LEFT-STYLE: solid
}

REPLACE WITH

DIV.postleft, DIV.postfootleft {
    FLOAT:right;
    WIDTH: 18em;
    OVERFLOW: hidden;
    POSITION: relative;
}
    
DIV.postright, DIV.postfootright {
    BORDER-RIGHT-WIDTH: 18em;
    BORDER-RIGHT-STYLE: solid
}

IN style/imports/Oxygen_cs.css FIND (line 42)

DIV.postright, DIV.postfootright {BORDER-RIGHT-COLOR: #f1f1f1}

REPLACE WITH

DIV.postright, DIV.postfootright {BORDER-LEFT-COLOR: #f1f1f1}

That should do it. Tell me if you have any problems. smile

3 (edited by krko 2008-05-07 15:51)

Re: PunBB and right-to-left languages

Hello Jarkko,

Thank you for the reply. I managed to figure it about a few second before I saw your reply. Thanks anyway. It works great.
No I have 2 thing left... The main menu at the top (if that's the right name for it) doesn't display well. It's not completely aligned to the right and the margins between the items are too small. How would I fix this?
The second problem I have is on the main forum page (REMOVED THE LINK SO IT DOESN'T GET PICKED BY SEARCH ENGINES BECAUSE THE SITE IS NOT READY YET.). There's the blue rectangle next to forum's name that's aligned to the left instead to the right and is misplaced. Where should I fix this?

Many thanks,
Goran

Re: PunBB and right-to-left languages

IN style/Oxygen.css FIND (line 142)

#brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT  {MARGIN-RIGHT: 12px}

REPLACE WITH

#brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT  {MARGIN-LEFT: 12px}

That fixes the alignment.

5

Re: PunBB and right-to-left languages

Thanks Jarkko,

It sure fixes the alignment but the items are still too close to each other. How would I increase the gap between them?

Thank you once again,
Goran

6 (edited by krko 2008-05-07 15:52)

Re: PunBB and right-to-left languages

Btw, the blue rectangle (indicating new messages) should also change its position here: REMOVED THE LINK SO IT DOESN'T GET PICKED BY SEARCH ENGINES BECAUSE THE SITE IS NOT READY YET.