Hi dears
I try to change the sidebar block width from the css file
.sidebar {
color: #414141;
width: 170px; /// I make the change here
float: left;
padding: 5px 0 0;
z-index: 2;
position: relative;
}
so I get the blocks with the new width - but the center block (contained in panel) are shrinking too,
how to make panels or the content area take 100% of width?
thanks
and best regards

Comments

math_1048’s picture

thanks dear
I get it
my change was in lines:
L374:
.sidebar {
color: #414141;
width: 170px; ////make my width here
float: left;
padding: 5px 0 0;
z-index: 2;
position: relative;
}

and

L339
body.left #center {
margin-left: -183px;
}
body.right #center {
margin-right: -183px;
}
body.both #center {
margin: 0 -183px;
}
body.left .squeeze {
margin-left: 183px;
}
body.right .squeeze {
margin-right: 183px;
}
body.both .squeeze {
margin: 0 183px;
}

replace 283 with 183 px - that (-100px) I get from block width

thanks

hswong3i’s picture

Status: Active » Fixed

Totally correct :-)

This settings are a bit fancy and clone from Garland. It is quite difficult for me to understand how does it work at beginning, too. Maybe I will revamp the code with more meaningful comments when a new stable release is come.

math_1048’s picture

thank you dear very much , and waiting for your new release :)
best regards

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.