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

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. # 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

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. # 3
  • Page :
  • 1


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