First, thanks for such a fantastic theme. I was a Zen fan for several years, but used Fusion once and was sold.

In a current project, I'm working on a Fusion subtheme using the 1140 reponsive grid (http://cssgrid.net/). Everything is working beautifully, as expected, but I'm running into a problem with the sidebar blocks.

When sidebar width is, for example, .grid12-3, the blocks inside the sidebar are also being assigned this class and being displayed at ~22% (my width for .grid12-3) of the sidebar width. I understand the "why" but am looking for expertise as to the cleanest override.

I know I can provide CSS for that region using something like .sidebar-last .block .grid12-3{width:100%}, but I'm hoping there's a better fix that would still allow Skinr settings for the sidebar. If not, is it possible to disable Skinr widths for specific regions--so that users can still select Skinr block options, but the width settings, if selected, would be ignored for the sidebar regions?

I've been looking at this for a little while, but thought a Fusion expert might know exactly what to do.

Thanks in advance for any help you can offer.

Joy

Comments

aquariumtap’s picture

HI Joy, sorry for the delay in responding to your message. The width calculations for the sidebars happen in template.php, and in fluid layouts they're somewhat complicated, because as you're experiencing, a width of 22% is relative to the containing div.

If you want to override the logic that applies a grid units to sidebar blocks without dismantling fusion, you could perhaps override the classes set by template.php preprocessing functions. Otherwise, I think your suggestion of setting the CSS for all blocks within the region will have to work. Currently skinr cannot be enabled/disabled per region, unfortunately --- that would be a great feature!! I know I've found myself wanting to do that.

I'd be very interested to see your Fusion subtheme used along with the 1140 responsive grid... stay in touch!

Best,
Jason

aquariumtap’s picture

Status: Active » Closed (won't fix)
mrconnerton’s picture

Based on Joy's ideas, I just commited a sandbox for a D7 responsive fusion sub theme: http://drupal.org/sandbox/mrconnerton/1373590 using http://cssgrid.net/