Forum Support

Shape 5
December 04, 2021, 07:48:01 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: RTL  (Read 1592 times)
labra
Jr. Member
**
Offline Offline

Posts: 53



RTL
« on: July 11, 2009, 06:28:24 AM »

Mike, hi again! Smiley

Now I need to create a right-to-left mirror of a site that uses the UserChoice template. To flip the whole site to RTL, I need  to add the

direction: rtl;

command in a place where it will affect the whole template. Can you please suggest the best location for it?

Thanx in advance -

Lev
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: July 13, 2009, 07:35:29 AM »

Please post a url.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #2 on: July 13, 2009, 08:04:03 AM »

http://micro5.mscc.huji.ac.il/~occupther/heb/

TIA

L
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: July 13, 2009, 08:11:58 AM »

Hello, there is no content on your site, once you have the site built I can help you change it over to RTL. One thing you can add in the beginning is:

body {
direction:RTL;
}

Just add that to the bottom of your template_css.css file.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #4 on: July 13, 2009, 08:23:01 AM »

Mike,

you must be mistaken: the content is there - just click any top menu button to see the content.

L
Logged
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #5 on: July 14, 2009, 07:48:16 AM »

Hello, there is no content on your site, once you have the site built I can help you change it over to RTL. One thing you can add in the beginning is:

body {
direction:RTL;
}

Just add that to the bottom of your template_css.css file.

Mike, I have added the direction tag; the text is now right-aligned, which looks good. But the rest of the items still need RTLing Smiley. Can you please take a look and tell me what else must be modified for a complete RTL flip?

BTW, it might be a good idea to offer the RTL version of this template to the club members: I'm sure this would add popularity to the template, as there are many users looking for a robust RTL template.

TIA -

L
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #6 on: July 15, 2009, 09:06:33 AM »

Hello, it looks like it's just the menu that's still LTR, if you can private message me ftp access I can look into this for you.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #7 on: July 28, 2009, 02:38:30 AM »

Mike,

please see the attached screenshots: on some machines, the homepage is displayed incorrectly:

the top menu is shifted way to the right;
the flash clip is displayed way down below

Actually, I could live with a CENTERED menu - but what about the clip?

This is a university site and they are nagging me all the time (I can understand their frustration...) - can something be done about it? PLEEEEEEEEEEEEEEEZ...

L
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #8 on: July 28, 2009, 07:34:38 AM »

Hello, the menu is set to the right because you request RTL. The menu was not appearing the way your pictures show when I had set it up in IE or FF. I would suggest removing any modified code that you have changed since I last worked on it. Something is wrong with the layout of your content but the easiest solution for the flash object is to edit your template_css.css file and look for at line 183 and remove it:

table.contentpaneopen, table.contentpane, table.blog {
width:100%;
}

Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #9 on: July 28, 2009, 12:39:05 PM »

Mike, thanx for the help - the flash module looks good now.

The top menu, though, still "slides out". I am willing to give up on its right alignment - can I set it to be centered? If yes, how?

L
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #10 on: July 28, 2009, 02:05:38 PM »

Hello, download a fresh copy of the template and replace the file s5_suckerfish.css with the original one. Once you have that up then add the following to the bottom of the s5_suckerfish.css file:

#s5_navv2 {
margin-left:auto;
margin-right:auto;
}

If that doesn't center it then you will need to remove that code and add padding to the menu until it is centered by adding this to the bottom of the same file:

#s5_menu_navv {
padding-left:200px;
}

Increase the 200px until it is centered.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #11 on: July 29, 2009, 12:01:39 AM »

I see. Sounds clear. There are four suckerfish.css files - two "light" and two "dark." I'm using the "light" version of the template, so I assume U should be using the "light" ones - but which one of the two?
Logged
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #12 on: July 29, 2009, 12:37:29 AM »

Got it - it's s5_suckerfish2_light.css. Got a new copy, played with the padding-left parameter, managed to set the menu within reasonable limits. Smiley

The only problem is that now the secondary menu items align to left again. Could not find a way of setting them to the right. I guess it's the same file - where?

TIA -

L
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #13 on: July 29, 2009, 06:58:23 AM »

On line 180 of light.css find:

#s5_navv2 li li {

under that change the text-align line to right
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #14 on: July 29, 2009, 08:07:10 AM »

On line 180 of light.css find:

#s5_navv2 li li {

under that change the text-align line to right

Mike,

It does not have any alignment command, so I just added one. Works fine, THANX!!!!!!!!!!!!!!!!!!!!!!!!!!

L
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.