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.
A Fusion sub-theme's .info file can have a number of defaults for the theme settings. Example from Fusion Starter:
; Default theme settings
settings[theme_grid] = grid16-960
settings[fluid_grid_width] = fluid-100
settings[theme_font_size] = font-size-12
settings[sidebar_layout] = sidebars-split
settings[sidebar_first_width] = 3
settings[sidebar_last_width] = 3
Here are all the current possible values:
- Grid layout (which type of grid, number of columns, pixel width vs fluid -- 16 col 960px grid is available currently)
- grid16-960
grid16-fluid - Fluid grid width (if a fluid grid, which percentage width is it)
- fluid-100
fluid-95
fluid-90
fluid-85 - Font size (Fusion uses a percentage system, but these are the pixel equivalents when the user's browser default is set to the standard 16px)
- font-size-10
font-size-11
font-size-12
font-size-13
font-size-14
font-size-15
font-size-16
font-size-17
font-size-18 - Sidebar layout
- sidebars-split
sidebars-both-first
sidebars-both-last - Sidebar width (in grid units)
- 2
3
4
5
6
7
8
Comments
How do you hide one sidebar?
Can you set its value to 0 in the .info file or what?
Thank you.
force non-fluid (ie. fixed) grid
hi - I've done a nice sub-theme based off a sub-theme with a fluid grid. I can go in and change the settings in admin and make it a fixed width grid, which works just fine. But what setting can I use to force it to install as a fixed grid by default?
Thanks