1. petzold
  2. Commercial Templates
  3. Friday, 06 March 2015
  4.  Subscribe via email
Hi,

how can I reorder the modules on mobilde devices?

I like to have for site www.brick.tips on iOS the ordering: mobile menue, Logo, Banner on Top 1a, Breadcrumbs (so far so good - but now: content (instead of Sidecol B).

Is it possible?

Thank you very much!
Christian
Accepted Answer Pending Moderation
0
Votes
Undo
Hey Christian, try adding this code to your Custom Code -> Body Custom Code area:


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

function listenWidth( e ) {
if(jQuery(window).width()<767)
{
jQuery("#sidecol_b").remove().insertAfter(jQuery("#content_remainder"));
} else {
jQuery("#sidecol_b").remove().insertBefore(jQuery("#content_remainder"));
}
if(jQuery(window).width()<767)
{
jQuery("#sidecol_a").remove().insertAfter(jQuery("#content_remainder"));
} else {
jQuery("#sidecol_a").remove().insertBefore(jQuery("#content_remainder"));
}
}
</script>
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
:) :) :)
Thanx so much, it works!!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hehe, I had asked Ciaran the same question about a month ago and that's the script he gave me :)
  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!