Set the Bootstrap navbar position to "Fixed Top".

This commit is contained in:
Michael Stenta 2017-11-15 16:32:46 -05:00
parent 1b88531f1d
commit 8ccda335da
2 changed files with 13 additions and 0 deletions

View File

@ -670,6 +670,15 @@ function farm_update_7034(&$sandbox) {
_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.
*/

View File

@ -40,6 +40,10 @@ settings[bootstrap_fluid_container] = 1
; Disable smart form descriptions. See https://www.drupal.org/node/2879967
settings[bootstrap_forms_smart_descriptions] = 0
; Navbar
; --------------
settings[bootstrap_navbar_position] = 'fixed-top'
; Advanced
; --------------
settings[bootstrap_cdn_provider] = 'custom'