I am using OpenChurch Theme Starter which is a subtheme of OpenChurch Theme which is in itself of subtheme of Fusion. I am trying to use contexts to hide the sidebars when viewing galleries and calendars, but the widths of the main_group and the content_group are not adjusting correctly to the hidden sidebars.
The nested region main_group still prints the width as (grid_width - sidebar_first)
The nested region content_group still prints the width as (grid_width - sibebar_first - sidebar_second)
When the context hides the sidebar_first and sidebar_second regions those widths should be printed as the full grid_width.
I can't seem to figure out where these variables are being set. Can someone please help?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | fusion_core-context-regions-1673064-7.patch | 762 bytes | Poieo |
| #2 | context-disable-region-reaction.patch | 771 bytes | knsheely |
Comments
Comment #1
knsheely commentedThis seems to be the same issue http://drupal.org/node/1298916, but it includes a patch for an earlier version. Not sure if that patch can be applied the same way to the 7.x-2.0-beta version. I'm going to do some testing along the same lines.
Comment #2
knsheely commentedOkay...I had to apply the patch a little differently than it is written at http://drupal.org/node/1298916, but it worked. This is my first attempt at a patch so I'm not sure I got the syntax completely right.
Comment #3
esmerel commentedSetting this to needs review so the testbot might give it a shot.
Comment #5
Poieo commentedThis could be caused by #1172280: Fusion themes render blocks twice. If not, this issue will have to be addressed as well with the fix referenced in that issue.
Comment #6
Poieo commentedComment #7
Poieo commentedSlightly modified, seems to be working as expected.
Comment #9
Poieo commented