diff --git a/farm.install b/farm.install index 6206396b6..6992d54c2 100644 --- a/farm.install +++ b/farm.install @@ -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. */ diff --git a/themes/farm_theme/farm_theme.info b/themes/farm_theme/farm_theme.info index 86a8aca34..b454c4fc2 100644 --- a/themes/farm_theme/farm_theme.info +++ b/themes/farm_theme/farm_theme.info @@ -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'