thank you for the theme.

Currently, if there's a block in either one of the two side bars then that region expands, and the content area stays the same.

What I would like is if I have a block in the right side bar and not the left, I would like the content area to expand over where the left sidebar would be, rather than the right side bar expanding.

how would I do this. Thank you.

Comments

gausarts’s picture

Hi,

Thanks for giving it a try.

On the first dev release it simply behaved like all the other themes as you see on the demo page. The last changes on alpha or beta is actually triggered by an assumption that we probably need wider single sidebar. I may be wrong. So I'll try to reaccomodate the first behavior on future release aside from the current.

I wish I knew how to do all these negative margins automatically via administration text input, so anyone can simply input something and all is set. Perhaps on version 2, or else someone with better PHP would give away some math formula. This will be a great relief :)

At least for now, suppose you follow the README and use the default width:
1. Rename grail-overrides-rename.css to grail-overrides.css, at least until its complete relase, and edit to your need, or try placing this, see the comment for explanation:

/*ONE SIDEBAR ACTIVE GENERIC, we do overrides on grail-overrides.css*/
body.one-sidebar #main-inner {
margin-left:-250px;/*Margin left is a sum of sidebar (right) plus 10px padding on the left and right sides*/
}

body.one-sidebar .farleft {
margin-left:0;
}

body.one-sidebar #content-inner {
margin:20px 10px 20px 250px; /*Margin left is a sum of sidebar (right) plus 10px padding on the left and right sides each*/
}

body.one-sidebar #sidebar-left, body.one-sidebar #sidebar-right  {
left:240px;/* Add 10px width to the left plus sidebar width*/ 
width:230px;/* We take right sidebar width since default left is too narrow*/
}

2. Check Activate custom width overrides under Theme-specific settings
3. Check Default under Sidebar dev width alternatives to allow the above overrides
4. Hit save

Let me know if you still have trouble with the above.

Thanks

fullmedia’s picture

Just wanted to let you know that I had the same question and this solution worked perfectly for me ... Thanks!

SamSound’s picture

didnt realise this was still open.

I was using the 170x170 overrides and ended up with something like

body.one-sidebar #main-inner {
margin-left:-200px;/*Margin left is a sum of sidebar (right) plus 10px padding on the left and right sides*/
}

body.one-sidebar .farleft {
margin-left:0;
}

body.one-sidebar #content-inner {
margin:20px 15px 20px 200px; /*Margin left is a sum of sidebar (right) plus 10px padding on the left and right sides each*/
}

body.one-sidebar #sidebar-left, body.one-sidebar #sidebar-right  {
left:185px;/* Add 10px width to the left plus sidebar width*/
width:170px;/* We take right sidebar width since default left is too narrow*/
}

i gave 15px padding instead of 10, i think its ok
thanks for the theme and the help.

gausarts’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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