-
AuthorPosts
-
September 22, 2014 at 8:28 pm #201517
:(( This is an urgent request. My client needs to see this page redone asap.
The home.php contains the block ‘mainbody-home.php that contains the spotlight1 and 2 components and the sidebar1.
I have been trying to figure out how to move the components to the left and have the sidebar2 on the right.
See attached image.
Click image for larger version
Name: mainbody-home-with-sidebar2.png
Views: 2
Size: 16.4 KB
ID: 40125thanks.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 23, 2014 at 3:04 am #550447Hi Wilson,
You will need to customize a bit in above ‘mainbody-home.php’ file, you can try with my tweak below:
– Open file ‘mainbody-home.php’
– Replace the whole ‘t3-mainbody’ div with this:
<div id="t3-mainbody" class="container t3-mainbody" >
<div class="main-container">
<div class="row"><!-- MAIN CONTENT -->
<div id="t3-content" class="t3-content col-xs-12 col-sm-8 col-md-9">
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<?php if ($this->checkSpotlight('spotlight-1', 'position-1, position-2, position-3')) : ?>
<!-- SPOTLIGHT 1 -->
<?php $this->spotlight('spotlight-1', 'position-1, position-2, position-3') ?>
<!-- //SPOTLIGHT 1 -->
<?php endif ?><jdoc:include type="component" />
<?php if ($this->checkSpotlight('spotlight-2', 'position-4, position-5, position-6')) : ?>
<!-- SPOTLIGHT 2 -->
<?php $this->spotlight('spotlight-2', 'position-4, position-5, position-6') ?>
<!-- //SPOTLIGHT 2 -->
<?php endif ?>
</div>
<!-- //MAIN CONTENT --><?php if ($this->countModules($sidebar1)) : ?>
<!-- SIDEBAR RIGHT -->
<div
class="t3-sidebar t3-sidebar-left col-xs-12 col-sm-4 col-md-3 <?php $this->_c($sidebar1) ?>">
<jdoc:include type="modules" name="<?php $this->_p($sidebar1) ?>" style="T3Xhtml" />
</div>
<!-- SIDEBAR RIGHT -->
<?php endif ?>
</div>
</div>
</div>I also attach this file so that you can make comparison.
Best
1 user says Thank You to Saguaros for this useful post
September 23, 2014 at 5:19 am #550465Thank you so much! I have saved the original mainbody-home.php file incase I need to use it on another page.
I appreciate your quick response. 😀
Thanks again. -
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Saguaros 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum