1. ziggy
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 03 April 2012
  5.  Subscribe via email
I created a custom html module with location "Sidecolumn". It is appearing on the left side. How do I place it on the right? Both sides have the same name 'Sidecolumn'.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

The sidecolumn module position can be switched from left to right via the templates parameters. To access these parameters navigate to Extensions -> Template Manager -> J51_[YourTemplate]

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for the reply and I was able to switch it. However, I did not realize I am fixed with one side only, ie, I cannot have some modules appear on the left and some on the right. Is there any way to do that or can that feature be added?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
May I suggest the following post which details how to change the Mountain Pine template which would be similar to your Revelation template.

http://joomla51.com/forum/support/commercial-templates/j51-mountainpine-polish-characters-two-columns

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you. I found the post and was able to get both the columns, ie, a & b. However, the graphics at the top of the module including the horizontal line is missing.

I do not know enough about css to know how to fix that. It would be great if you can look into it and let me know what to do.

Thanks.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Never mind the previous post. I figured out what was wrong. The div class is j51_module1 and not j51_module as in Mountain Pine.

Thanks again for your help.
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello - it's me again. The widths were not working out as I guess the main body is wider in Mountain Pine and therefore it was floating below the side module. I played with the widths and now I have it matched with the original. Following are the changes I made and I hope it will help someone -

[code type=css]<style type="text/css">
#content80 {width:855px; padding-left:15px;}
/*--Check and see what modules are toggled on/off then take away columns width, margin and border values from overall width*/
<?php if($this->countModules( 'sidecol-a') >= 1 && $this->countModules('sidecol-b') >= 1) : ?>
#content80 {width:350px; float:right; padding:0; }

<?php elseif($this->countModules('sidecol-a') >= 1 && $this->countModules('sidecol-b') == 0) : ?>
#content80 {width:615px; float:right; padding:0 30px 0 0;}

<?php elseif($this->countModules('sidecol-a') == 0 && $this->countModules('sidecol-b') >= 1) : ?>
#content80 {width:615px; float:left; padding-right:0px; padding-left:25px;}

<?php endif; ?>

#sidecol_a {float:left; width:264px; padding-left:18px}
#sidecol_b {float:right; width:264px; padding-right: 18px;}

</style>[/code]
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Nice work and thank you for posting the updated CSS (",)

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok