How to change width of sidebar?

4 posts / 0 new
Last post
nicola.p
nicola.p's picture
How to change width of sidebar?

I have now successfully installed Postwall, and it's great. I needed to tweak a few things and have managed to change the width of the whole layout and the width of the articles on the wall layout.

However I also need to widen the secondary sidebar to 320px, and am having a problem figuring that out. I guess need to change a margin somewhere? But cannot find where. Many thanks.

support
support's picture
Hi there Nicola:

Hi there Nicola:

As we use Bootstrap 3 in Postwall, the best way to change it and maintain all the aspect ratios and responsive breakdowns, you will need to do the changes in:

sites/all/themes/postwall/templates/page.tpl.php AND IN ALL the page-XXXXXXX.tpl.php files

LINE 208 Defines the Content area;
<section class="col-sm-9 page-container" >

and

LINE 245 Defines the Sidebar area;
<aside class="col-sm-3" role="complementary">

You need to balance that the sum of both col-sm-X values should result in 12. As Bootstrap uses the 12 grid system, you must ensure to match it so you can have both regions side-by-side.

Best!!!

nicola.p
nicola.p's picture
Thanks very much, I was just

Thanks very much, I was just tweaking the css which looks OK, but I'll do it that way.

support
support's picture
You are welcome!

You are welcome!

Log in to post comments