Set the Bootstrap navbar position to "Fixed Top".
This commit is contained in:
parent
1b88531f1d
commit
8ccda335da
|
@ -670,6 +670,15 @@ function farm_update_7034(&$sandbox) {
|
||||||
_farm_update_enable_modules(array('farm_calendar'));
|
_farm_update_enable_modules(array('farm_calendar'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the Bootstrap navbar position to "Fixed Top".
|
||||||
|
*/
|
||||||
|
function farm_update_7035(&$sandbox) {
|
||||||
|
$theme_settings = variable_get('theme_farm_theme_settings', array());
|
||||||
|
$theme_settings['bootstrap_navbar_position'] = 'fixed-top';
|
||||||
|
variable_set('theme_farm_theme_settings', $theme_settings);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update helper function: enable modules.
|
* Update helper function: enable modules.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -40,6 +40,10 @@ settings[bootstrap_fluid_container] = 1
|
||||||
; Disable smart form descriptions. See https://www.drupal.org/node/2879967
|
; Disable smart form descriptions. See https://www.drupal.org/node/2879967
|
||||||
settings[bootstrap_forms_smart_descriptions] = 0
|
settings[bootstrap_forms_smart_descriptions] = 0
|
||||||
|
|
||||||
|
; Navbar
|
||||||
|
; --------------
|
||||||
|
settings[bootstrap_navbar_position] = 'fixed-top'
|
||||||
|
|
||||||
; Advanced
|
; Advanced
|
||||||
; --------------
|
; --------------
|
||||||
settings[bootstrap_cdn_provider] = 'custom'
|
settings[bootstrap_cdn_provider] = 'custom'
|
||||||
|
|
Loading…
Reference in New Issue