Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • dorsetjoomlart Friend
    #758513

    I would also like to be able to make the sidebar 1 and 2 positions in Purity 3 narrower. In my live website
    http://www.cccagronomy.com I have used Purity 2 and you can see that the side bars are narrower. So is it possible to replicate this in Purity 3. which is used on my development site http://www.cccagronomy.com/test/webp3 ?

    thanks

    Pankaj Sharma Moderator
    #758790

    Hi
    The Width of the sidebar is defined in the php file .
    You can find it in the purity_iiitplsblocksmainbody There u can see a no. of mainbody files , Open a file for example
    one-sidebar-left.php Find the code

    <!-- SIDEBAR LEFT -->
    <div class="t3-sidebar t3-sidebar-left col-xs-12 col-sm-4 col-sm-pull-8 col-md-3 col-md-pull-9 <?php $this->_c($vars['sidebar']) ?>">

    Change the size of col-md-3 (span3) to col-md-2 (span2) . Make sure total size would be 12 including content block size .
    Here > > > http://prntscr.com/98jlfz

    The same way you can change size for other layouts files that u are using .

    prasadb Friend
    #998298

    Thanks a lot. This works fine…

    Here’s how I reduced the size of the sidebars by changing following sections

        <div id="t3-content" class="t3-content col-xs-12 col-md-8  col-md-push-2">
            <?php if($this->hasMessage()) : ?>
            <jdoc:include type="message" />
            <?php endif ?>
            <jdoc:include type="component" />
        </div>
        <!-- //MAIN CONTENT -->
    
        <!-- SIDEBAR 1 -->
        <div class="t3-sidebar t3-sidebar-1 col-xs-6  col-md-2  col-md-pull-8 <?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-md-2 <?php $this->_c($vars['sidebar2']) ?>">
            <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
        </div>
Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 1 reply, has 2 voices, and was last updated by  prasadb 6 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum