ASTRA_THEME_SETTINGS . '[footer-bar-typography-group]', 'default' => astra_get_option( 'footer-bar-typography-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Content Font', 'astra-addon' ), 'section' => 'section-footer-small', 'transport' => 'postMessage', 'priority' => 47, 'divider' => array( 'ast_class' => 'ast-bottom-divider' ), 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[footer-sml-layout]', 'operator' => '!=', 'value' => 'disabled', ), ), ), /** * Option: Footer Content Font Family */ array( 'name' => 'font-family-footer-content', 'control' => 'ast-font', 'font_type' => 'ast-font-family', 'title' => __( 'Font Family', 'astra-addon' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-typography-group]', 'section' => 'section-footer-small', 'default' => astra_get_option( 'font-family-footer-content' ), 'connect' => ASTRA_THEME_SETTINGS . '[font-weight-footer-content]', ), /** * Option: Footer Content Font Size */ array( 'name' => 'font-size-footer-content', 'default' => astra_get_option( 'font-size-footer-content' ), 'title' => __( 'Font Size', 'astra-addon' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-typography-group]', 'section' => 'section-footer-small', '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: Footer Content Font Weight */ array( 'name' => 'font-weight-footer-content', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-typography-group]', 'section' => 'section-footer-small', 'control' => 'ast-font', 'font_type' => 'ast-font-weight', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'title' => __( 'Font Weight', 'astra-addon' ), 'default' => astra_get_option( 'font-weight-footer-content' ), 'connect' => 'font-family-footer-content', ), /** * Option: Footer Content Text Transform */ array( 'name' => 'text-transform-footer-content', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-typography-group]', 'section' => 'section-footer-small', 'title' => __( 'Text Transform', 'astra-addon' ), 'control' => 'ast-select', 'default' => astra_get_option( 'text-transform-footer-content' ), 'transport' => 'postMessage', 'choices' => array( '' => __( 'Inherit', 'astra-addon' ), 'none' => __( 'None', 'astra-addon' ), 'capitalize' => __( 'Capitalize', 'astra-addon' ), 'uppercase' => __( 'Uppercase', 'astra-addon' ), 'lowercase' => __( 'Lowercase', 'astra-addon' ), ), ), /** * Option: Footer Content Line Height */ array( 'name' => 'line-height-footer-content', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-typography-group]', 'section' => 'section-footer-small', 'default' => astra_get_option( 'line-height-footer-content' ), 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'title' => __( 'Line Height', 'astra-addon' ), 'transport' => 'postMessage', 'control' => 'ast-slider', 'suffix' => 'em', 'input_attrs' => array( 'min' => 1, 'step' => 0.01, 'max' => 5, ), ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Footer_Typo_Configs();