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

    I would also like to be able to make the sidebar 1 and 2 positions in Purity 3 narrower. In my live website 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 ?


    Pankaj Sharma Moderator

    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 > > >

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

    prasadb Friend

    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" />
        <!-- //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" />
        <!-- //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" />
Viewing 3 posts - 1 through 3 (of 3 total)

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

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