Astra_Theme_Update::v_1_5_0_rc_1()

Set flag ‘submenu-below-header’ to false to load fallback CSS to force menu load right after the container cropping logo and header.


Description

See also


Return

(void)


Source

File: inc/theme-update/class-astra-theme-update.php

		public static function v_1_5_0_rc_1() {
			$theme_options = get_option( 'astra-settings' );

			// Set flag to use anchors CSS selectors in the CSS for headings.
			if ( ! isset( $theme_options['submenu-below-header'] ) ) {
				$theme_options['submenu-below-header'] = false;
				update_option( 'astra-settings', $theme_options );
			}
		}

User Contributed Notes

You must log in before being able to contribute a note or feedback.