1. luca
  2. Commercial Templates
  3. Wednesday, 27 May 2015
  4.  Subscribe via email
Hi,

i have a problem with your template J51 HABITATE. I have modules on sidebarcol b. In mobile version i want the sidebar content under the main content and not this in first position.

How can i set the sidebarcol b under the main content?

Thanks
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You can also try the suggestion in the following post... http://www.joomla51.com/forum/8-commercial-templates/7720-how-can-i-make-sidecolum-b-stack-under#19479

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
But this does't work in J51-Classic.

Any onther solution?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To change the stacking order of your side column modules try adding the following to the Body Custom Code field of your templates parameters...


<script type="text/javascript">
jQuery(document).load(jQuery(window).bind("resize", listenWidth));

function listenWidth( e ) {
if(jQuery(window).width()<959)
{
jQuery("#sidecol_b").remove().insertAfter(jQuery("#content_remainder"));
} else {
jQuery("#sidecol_b").remove().insertBefore(jQuery("#content_remainder"));
}
if(jQuery(window).width()<959)
{
jQuery("#sidecol_a").remove().insertAfter(jQuery("#content_remainder"));
} else {
jQuery("#sidecol_a").remove().insertBefore(jQuery("#content_remainder"));
}
}
</script>


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