ASTRA_THEME_SETTINGS . '[below-header-megamenu-typography-styling]', 'default' => astra_get_option( 'below-header-megamenu-typography-styling' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Mega Menu Column Heading', 'astra-addon' ), 'section' => 'section-below-header', 'transport' => 'postMessage', 'divider' => array( 'ast_class' => 'ast-bottom-divider' ), 'priority' => 137, 'context' => array( 'relation' => 'AND', array( 'setting' => ASTRA_THEME_SETTINGS . '[below-header-layout]', 'operator' => '!=', 'value' => 'disabled', ), array( 'relation' => 'OR', array( 'setting' => ASTRA_THEME_SETTINGS . '[below-header-section-1]', 'operator' => '==', 'value' => 'menu', ), array( 'setting' => ASTRA_THEME_SETTINGS . '[below-header-section-2]', 'operator' => '==', 'value' => 'menu', ), ), ), ), // Option: Below Megamenu Header Menu Font Family. array( 'name' => 'below-header-megamenu-heading-font-family', 'parent' => ASTRA_THEME_SETTINGS . '[below-header-megamenu-typography-styling]', 'type' => 'sub-control', 'section' => 'section-below-header', 'control' => 'ast-font', 'font_type' => 'ast-font-family', 'default' => astra_get_option( 'below-header-megamenu-heading-font-family' ), 'title' => __( 'Font Family', 'astra-addon' ), 'connect' => ASTRA_THEME_SETTINGS . '[below-header-megamenu-heading-font-weight]', ), // Option: Below Megamenu Header Menu Font Size. array( 'name' => 'below-header-megamenu-heading-font-size', 'parent' => ASTRA_THEME_SETTINGS . '[below-header-megamenu-typography-styling]', 'transport' => 'postMessage', 'title' => __( 'Font Size', 'astra-addon' ), 'type' => 'sub-control', 'section' => 'section-below-header', 'responsive' => false, 'default' => astra_get_option( 'below-header-megamenu-heading-font-size' ), 'control' => 'ast-responsive-slider', 'suffix' => array( 'px', 'em', 'vw', 'rem' ), 'input_attrs' => array( 'px' => array( 'min' => 0, 'step' => 1, 'max' => 200, ), 'em' => array( 'min' => 0, 'step' => 0.01, 'max' => 20, ), 'vw' => array( 'min' => 0, 'step' => 0.1, 'max' => 25, ), 'rem' => array( 'min' => 0, 'step' => 0.1, 'max' => 20, ), ), ), // Option: Below Megamenu Header Menu Font Weight. array( 'name' => 'below-header-megamenu-heading-font-weight', 'parent' => ASTRA_THEME_SETTINGS . '[below-header-megamenu-typography-styling]', 'type' => 'sub-control', 'section' => 'section-below-header', 'control' => 'ast-font', 'font_type' => 'ast-font-weight', 'default' => astra_get_option( 'below-header-megamenu-heading-font-weight' ), 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'title' => __( 'Font Weight', 'astra-addon' ), 'connect' => 'below-header-megamenu-heading-font-family', ), // Option: Below Megamenu Header Menu Text Transform. array( 'name' => 'below-header-megamenu-heading-text-transform', 'parent' => ASTRA_THEME_SETTINGS . '[below-header-megamenu-typography-styling]', 'type' => 'sub-control', 'section' => 'section-below-header', 'control' => 'ast-select', 'title' => __( 'Text Transform', 'astra-addon' ), 'transport' => 'postMessage', 'default' => astra_get_option( 'below-header-megamenu-heading-text-transform' ), 'choices' => array( '' => __( 'Inherit', 'astra-addon' ), 'none' => __( 'None', 'astra-addon' ), 'capitalize' => __( 'Capitalize', 'astra-addon' ), 'uppercase' => __( 'Uppercase', 'astra-addon' ), 'lowercase' => __( 'Lowercase', 'astra-addon' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Nav_Menu_Below_Header_Typography();