1. jascanio
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 15 December 2014
  5.  Subscribe via email
Hi,
I've set my modules blocks to "Yes" for responsiveness.
When viewed from a mobile device I get sidecol modules displayed before articles. Is there a way to make sidecol's modules to be displayed after content, instead of before?
thanks in advance.
Regards,
Juan
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

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
Hello Ciarán,
Thanks for your reply.
I have pasted the code into the Body Custom Code field, replacing s-cprit with script and j-avascript with javascript, but sidecols remain before articles when accessed from movile dvices.
I cleared joomla cache and waited for a couple of days just in case I had a server-wide cache.
Any idea?
Thanks in advance.
Regards,
JUan
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Thanks four your reply.
As requested, I've sent access details.
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Have also sent admin url, which was missing in my previous mail.
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

Thank you however we are repeatedly getting a timed out error when we try to access the URL provided. We will try again later.

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

Sorry to say we are still unable to access the URL provided (timed out).

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Thanks for your reply.
I see that I mispelled the url than I sent you, adding a double "/" before "administrator"
Let me know whether your login attempts were to this incorrect url or, if you realized and corrected it and, despite of that, you get the time out.
(Sorry about that)
Thanks in advance.
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

Yes we had noticed the error and removed the double slash. Strangely we are prompted for the 'first' username/passwords but after that nothing?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Carán,
I've sorted this with my hosting provider. You should be able to access now.
Sorry for the inconvenience.
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Juan

We used the method described in the following post which has worked without issue... http://www.joomla51.com/forum/8-commercial-templates/5068-calibra-changing-the-responsive-layout#9990

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 11
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
Thanks for your reply. Your solution works a treat!
One final doubt. I see that Custom Code / Head Custom Code field, has the code you firstly recommended on post #13833.
I understand I can delete it now, once I have modified main.php. I have deleted it and everything seems to remain ok.
Am I right?
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 12
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Juan

yes you are correct in removing this code as it is no longer required.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 13
Accepted Answer Pending Moderation
0
Votes
Undo
Ok. thanks for your help
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 14
  • 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