Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I believe lines 64 and 65 of template.php should read:
$vars['content_group_width'] = '" style="width:' . (100 - $sidebar_last_width) . '%';
$vars['sidebar_last_width'] = '" style="width:' . $sidebar_last_width . '%';
instead of...
$vars['content_group_width'] = '" style="width:' . (100 - $sidebar_last_width) . '%"';
$vars['sidebar_last_width'] = '" style="width:' . $sidebar_last_width . '%"';
Comments
Comment #1
mbacou CreditAttribution: mbacou commentedThe current version fails W3C markup validation.
Comment #2
sociotech CreditAttribution: sociotech commentedmbacou,
Good catch! Made the fix and it should be in tomorrow morning's dev snapshot of Fusion Core.
Thanks.
Comment #4
dame CreditAttribution: dame commentedI have the same issue in the Drupal 7 branch.
function fusion_core_preprocess_page(&$vars) {
...
$vars[$group . '_width'] = '" style="width:' . $grid['fluid_adjustments'][$group] . '%"';
should be
$vars[$group . '_width'] = '" style="width:' . $grid['fluid_adjustments'][$group] . '%';
Comment #5
dame CreditAttribution: dame commented