0
Votes
Undo
  1. ofer-langer
  2. Commercial Templates
  3. Friday, 08 June 2012
  4.  Subscribe via email
Hello,

I purchased the Novation template.

How do I turn my website to RTL?

Thank you,
Ofer
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ofer

Your template will automatically switch to RTL once an RTL language is enabled on your site (Extensions -> Language Manager).

You can also force your template to RTL by editing the following in your templates styles.php (../templates/j51_novation/php/styles.php - line54

<?php if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template_rtl.css" type="text/css" />
<?php endif; ?>

Change to...

<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template_rtl.css" type="text/css" />


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

Thank you for your last answer.
First, your explanation about the logo helped me a lot and everything worked great!

Second, I tried changing the language both through Extensions>Language manager>My native language> Make default. And also I tried to force RTL through replacing the code you provided:

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template_rtl.css" type="text/css" />

I attached the fixed file, so you could see if I did something wrong, and another file that explains what else has to be aligned to the right.

Hope you could help me with it.

Thank you again,
Ofer
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ofer

Thank you for bringing this issue to our attention.

To amend add the following to the Custom CSS field within your templates parameters..

[code type=css]#hornav {float: right;}
#search {left: 5px;}
#copyright {float: right;}
#footermenu {float: left;}[/code]

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciarán,

Just to make sure... Is the right location for your script is:
[color=#ff0000]../templates/j51_novation/php/variables.php[/color]

and in this file the right location is:
[color=#ff0000]//Custom Css
$custom_css = $this->params->get('custom_css');
XXXXXXXXXX-HERE
?>[/color]

Or is the right location somewhere else?

Thank you for answering quickly,
Ofer.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ofer

From your Joomla administration navigate to Extensions -> Template Manager -> J51_Novation and you will see the 'Custom CSS' panel along the lower left of your screen.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciarán,

It works like a charm!
Thank you for helping me in turning my website into RTL one :)

Wise man once said: "A GOOD customer will buy from you, a GREAT customer will sell for you"

What I know for sure, is that I'll recommend anyone I know in my field about "Joomla51".

Thank you again,
Ofer, from Israel.
  1. more than a month ago
  2. Commercial Templates
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.