Closed (fixed)
Project:
Fusion Accelerator
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Jan 2012 at 20:49 UTC
Updated:
20 Jan 2012 at 21:52 UTC
As the title explains, CSS files generated by Fusion Accelerator for responsive layouts are not correctly receiving the CSS necessary to change the sidebar layouts. I tracked this down to the following bit of code in fusion_accelerator.module, line 583:
if ($responsive) {
$output[] = _fusion_accelerator_sidebar_locations($options);
$output[] = _fusion_accelerator_grid_debug($options);
}
$responsive was returned as FALSE even if the current theme settings had Responsive enabled.
It looks like near line 467, the responsive option's value was not being added to the $options variable which was passed to the CSS-rendering functions. The attached patch adds the responsive options' value to the $display_options array before it is passed to the CSS-rendering functions.
| Comment | File | Size | Author |
|---|---|---|---|
| fusion_accelerator-responsive-sidebar-layouts.patch | 772 bytes | sheena_d |
Comments
Comment #1
emmajane commentedpatch works for me.
Comment #2
sheena_d commentedcommitted.