- Posts: 10
- Thank you received: 0
change address is right aligned
14 years 9 months ago - 14 years 9 months ago #31823
by tbare
change address is right aligned was created by tbare
When checking out, after I register / log in, when i click on the "Change" icon next to the address, the new window looks like the image below, and all text is right aligned. This is very confusing. I see a "<link rel="stylesheet" href="/templates/system/css/template_rtl.css" type="text/css" />" in the source toward the bottom of the <head> section, but don't know a) why it's there, or b) how to remove it.
Last edit: 14 years 9 months ago by tbare.
Please Log in or Create an account to join the conversation.
14 years 9 months ago #31828
by tbare
Replied by tbare on topic Re: change address is right aligned
I took out the explicit call to jQuery (from my other post), and now the "edit" shows up in a lightbox, as expected, but the right align issue is still present.
Please Log in or Create an account to join the conversation.
14 years 9 months ago #31848
by nicolas
Replied by nicolas on topic Re: change address is right aligned
The right alignment comes from your template which displays that page with the RTL (right to left) mode which is usually used for languages reading from the right to the left.
Here is for example a post about that with a possible solution :
forum.joomlatools.eu/viewtopic.php?t=5099
Here is for example a post about that with a possible solution :
forum.joomlatools.eu/viewtopic.php?t=5099
Please Log in or Create an account to join the conversation.
14 years 9 months ago - 14 years 9 months ago #31853
by tbare
Replied by tbare on topic Re: change address is right aligned
perfect.
thanks!
for others looking at the same problem: here's the fix:
replace:
with:
in the /templates/system/component.php file (line 28 in my build - 1.5.15)
thanks!
for others looking at the same problem: here's the fix:
replace:
Code:
if($this->direction == 'rtl' && !file_exists(JPATH_THEMES.DS.$template.DS.'css/template_rtl.css') || !file_exists(JPATH_THEMES.DS.$template.DS.'css/template.css')) : ?>
with:
Code:
if($this->direction == 'rtl' && (!file_exists(JPATH_THEMES.DS.$template.DS.'css/template_rtl.css') || file_exists(JPATH_THEMES.DS.$template.DS.'css/template.css'))) : ?>
in the /templates/system/component.php file (line 28 in my build - 1.5.15)
Last edit: 14 years 9 months ago by tbare.
Please Log in or Create an account to join the conversation.
Time to create page: 0.212 seconds