i have a content region containing the main page content and 2 custom blocks

these 3 regions are displayed as columns using the grid system (each div block getting a .grid12-3 class)
(see attachment)

i think this is caused by fusion but i m not sure: skinr is disabled and when i switch to stark the problem doesnt occur

any idea what is happening and where the assignment of the grid classes can be disabled.

the website in question is originally a drupal 6 that im upgrading. the original theme was a copy of bluemarine

Comments

aquariumtap’s picture

hi batigolix, have you tried assigning each region 9 grid units through skinr?

the grid classes are part of fusion -- they will still be used, even if skinr is disabled. but by using skinr, you can customize the width of your blocks.

batigolix’s picture

no, skinr is switched off.

afaik no grid was assigned. im moving from a table based bluemarine theme to fusion, so there shouldnt be any settings that affect fusion

sheena_d’s picture

Status: Active » Closed (works as designed)

If you do not use skinr, Fusion will automatically divide all blocks within a region into equal width columns. With skinr, you can customize the width of the blocks. This is the intended functionality of the theme.

batigolix’s picture

ok thanks for the feedback, i will try it with skinr

i do still feel it is rather awkward that you have to install an extra module to achieve default drupal behaviour (which is placing blocks horizontally, in rows, within a region)

dman’s picture

Me too.
I can't imagine any case where blocks in the content region would be expected to pack horizontally into columns by default, and skinr seems like overkill (plus it raised an error when I tried todays combination of fusion core + acquia marina + skinr)

At a quick glance, I patched fusion_core/template.php as attached:

    if ($vars['block']->region == 'sidebar_first') {
      $width = $grid['fixed'] ? $grid['sidebar_first_width'] : $grid['width'];  // Sidebar width or 100% (if fluid)
    }
    elseif ($vars['block']->region == 'sidebar_second') {
      $width = $grid['fixed'] ? $grid['sidebar_second_width'] : $grid['width'];  // Sidebar width or 100% (if fluid)
    }
    elseif ($vars['block']->region == 'content') {
      // Content region should not be split vertically. 
      $width = $grid['fixed'] ? $grid['regions'][$vars['block']->region]['width'] : $grid['width'];  // full width or 100% (if fluid)
    }
    else {
      // Default block width = region width divided by total blocks, adding any extra width to last block

As this is 'by design' I won't re-open, but leave this hint here if anyone else comes searching.
Still ... Doh.