Resize the left and right module positions

Please open \templates\[your template]\tpls\blocks\mainbody.php

In the mainbody.php the default line means:

"default" : [ "span6 offset3" , "span3 offset-9" , "span3" ],

"span6 offset3"  = main component
"span3 offset-9" = left side
"span3" = right side

// Layout configuration
  $layout_config = json_decode ('{
    "two_sidebars": {
      "default" : [ "span6 offset3" , "span3 offset-9"    , "span3"             ],
      "wide"    : [],
      "xtablet" : [],
      "tablet"  : [ "span12"        , "span6 spanfirst"   , "span6"             ]
    },
    "one_sidebar1": {
      "default" : [ "span9 pull-right"         , "span3"             ],
      "wide"    : [],
      "xtablet" : [ "span8 pull-right"         , "span4"             ],
      "tablet"  : [ "span12"        , "span12 spanfirst"  ]
    },
    "one_sidebar2": {
      "default" : [ "span9"         , "span3"             ],
      "wide"    : [],
      "xtablet" : [ "span8"         , "span4"             ],
      "tablet"  : [ "span12"        , "span12 spanfirst"  ]
    },
    "no_sidebar": {
      "default" : [ "span12" ]
    }
  }');

Here the configuration for the mainbody layout.

"default" : [ "span6 offset3" , "span3 offset-9" , "span3" ]

It mean, in default state (desktop window), the component will has span6 (width in bootstrap), sidebar-1 will be span3, span 2 will be also span3.
You can change it to "default" : [ "span8 offset2" , "span2 offset-10" , "span2"], so it will make two sidebar smaller and the main component will be wider


AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.

About

AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...

Contacts

Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077

Connect

Join us in social networks to be in touch.

Newsletter

Complete the form below, and we'll send you our emails with all the latest AUST IT news.