1. youreinlucknow
  2. Commercial Templates
  3. Thursday, 12 September 2013
  4.  Subscribe via email
Other than the main menu and header, I'd like to move all the modules below the main content when being displayed on small devices like phones.

Right now, all the side menus and other side column modules appear before the primary content forcing the user to scroll WAY down to find the content.

Please help...
Thx.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You could try rearranging the sidecolumn modules and component are in your templates main.php. Locate the following in ../templates/j51_evolution/php/layouts/main.php..


<!--Side Columns Layout-->                          
<?php if ($this->countModules( 'sidecol-a' )) : ?>
<div id="sidecol_a" class="side_margins">
<div class="sidecol_block">
<jdoc:include type="modules" name="sidecol-a" style="mod_standard" />
</div>
</div>
<?php endif; ?>


<?php if ($this->countModules( 'sidecol-b' )) : ?>
<div id="sidecol_b" class="side_margins">
<div class="sidecol_block">
<jdoc:include type="modules" name="sidecol-b" style="mod_standard" />
</div>
</div>
<?php endif; ?>


Cut this code and paste it just before the following towards the end of the same file...


<div class="clear"></div>
<!--End Content width and show component area-->


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for your quick reply Ciarán.

It did work except that the change also shanges the ordering when viewed on a desktop - that is - it moved side-col A (from my left position) to the other side of the main-body to the right - next to side-col B.

MAIN BODY - Side-col A - Side-col B

I would like it to stay A - Main Body - B - except of course for mobile devices....

Thanks.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Would you have a URL to an example of your sidecol-a module appearing to the right?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
I changed it back when I saw the outcome.
I could change it again and send a screen shot if that would help?

Thanks,

Rob
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Rob

Sorry to say we would need to be able to see the live site so we can examine the markup and styling. May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and so we can examine this issue further with minimal interruption to your site . 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. # 5
  • 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