-
AuthorPosts
-
felix1 Friend
felix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 21, 2015 at 12:45 am #206528Hallo!
I’ve really fallen in love with Purity III. Good job!Now I only have one problem. Sidebar 1 and 2 overlap each other in mobile view.
Can someone please fix this problem?
Sincerely Felix Rimfrost
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 21, 2015 at 7:39 am #571335Hi Felix,
You can try with this tweak:
– Go to file: /templates/purity_iii/tpls/blocks/mainbody/two-sidebar-right.php
– Change:
<!-- SIDEBAR 1 -->
<div class="t3-sidebar t3-sidebar-1 col-xs-6 col-sm-12 col-md-6 <?php $this->_c($vars['sidebar1']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 1 --><!-- SIDEBAR 2 -->
<div class="t3-sidebar t3-sidebar-2 col-xs-6 col-sm-12 col-md-6 <?php $this->_c($vars['sidebar2']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 2 -->
To:
<!-- SIDEBAR 1 -->
<div class="t3-sidebar t3-sidebar-1 col-xs-12 col-sm-12 col-md-6 <?php $this->_c($vars['sidebar1']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 1 --><!-- SIDEBAR 2 -->
<div class="t3-sidebar t3-sidebar-2 col-xs-12 col-sm-12 col-md-6 <?php $this->_c($vars['sidebar2']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 2 -->
This way will help to place the sidebar 2 under the sidebar 1 because the screen size of mobile layout is so small.
1 user says Thank You to Saguaros for this useful post
felix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 23, 2015 at 2:50 am #571552Thanks!
It worked like a charm! 🙂
Sincerely//Felix Rimfrost
Felix Rimfrost
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by felix1 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Sidebars looks bad on mobile phone
Viewing 3 posts - 1 through 3 (of 3 total)