change address is right aligned

  • Posts: 10
  • Thank you received: 0
12 years 11 months ago #31823

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.

Attachments:
Last edit: 12 years 11 months ago by tbare.

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
12 years 11 months ago #31828

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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
12 years 11 months ago #31848

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

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
12 years 11 months ago #31853

perfect.

thanks!

for others looking at the same problem: here's the fix:

replace:

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:
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: 12 years 11 months ago by tbare.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum