'default' => et_get_option( 'tablet_header_font_size', '30' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[phone_header_font_size]',
'label' => esc_html__( 'Header Text Size', 'Divi' ),
'section' => 'et_divi_mobile_phone',
$wp_customize->add_setting(
'et_divi[tablet_header_font_size]',
'default' => et_get_option( 'body_header_size', '30' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[tablet_header_font_size]',
'label' => esc_html__( 'Header Text Size', 'Divi' ),
'section' => 'et_divi_mobile_tablet',
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_font_choices',
$wp_customize->add_control(
new ET_Divi_Select_Option(
'label' => esc_html__( 'Header Font', 'Divi' ),
'section' => 'et_divi_general_typography',
'settings' => 'et_divi[heading_font]',
'choices' => $font_choices,
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_font_choices',
$wp_customize->add_control(
new ET_Divi_Select_Option(
'label' => esc_html__( 'Body Font', 'Divi' ),
'section' => 'et_divi_general_typography',
'settings' => 'et_divi[body_font]',
'choices' => $font_choices,
$wp_customize->add_setting(
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'label' => esc_html__( 'Body Link Color', 'Divi' ),
'section' => 'et_divi_general_typography',
'settings' => 'et_divi[link_color]',
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'label' => esc_html__( 'Body Text Color', 'Divi' ),
'section' => 'et_divi_general_typography',
'settings' => 'et_divi[font_color]',
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'label' => esc_html__( 'Header Text Color', 'Divi' ),
'section' => 'et_divi_general_typography',
'settings' => 'et_divi[header_color]',
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'label' => esc_html__( 'Theme Accent Color', 'Divi' ),
'section' => 'et_divi_general_layout',
'settings' => 'et_divi[accent_color]',
$wp_customize->add_setting(
'et_divi[color_schemes]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_color_scheme',
$wp_customize->add_control(
'et_divi[color_schemes]',
'label' => esc_html__( 'Color Schemes', 'Divi' ),
'section' => 'et_color_schemes',
'settings' => 'et_divi[color_schemes]',
'choices' => et_divi_color_scheme_choices(),
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_header_style',
$wp_customize->add_control(
'label' => esc_html__( 'Header Style', 'Divi' ),
'section' => 'et_divi_header_layout',
'choices' => et_divi_header_style_choices(),
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'wp_validate_boolean',
$wp_customize->add_control(
'label' => esc_html__( 'Enable Vertical Navigation', 'Divi' ),
'section' => 'et_divi_header_layout',
$wp_customize->add_setting(
'et_divi[vertical_nav_orientation]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_left_right',
$wp_customize->add_control(
'et_divi[vertical_nav_orientation]',
'label' => esc_html__( 'Vertical Menu Orientation', 'Divi' ),
'section' => 'et_divi_header_layout',
'choices' => et_divi_left_right_choices(),
if ( 'on' === et_get_option( 'divi_fixed_nav', 'on' ) ) {
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'wp_validate_boolean',
$wp_customize->add_control(
'label' => esc_html__( 'Hide Navigation Until Scroll', 'Divi' ),
'section' => 'et_divi_header_layout',
$wp_customize->add_setting(
'et_divi[show_header_social_icons]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'wp_validate_boolean',
$wp_customize->add_control(
'et_divi[show_header_social_icons]',
'label' => esc_html__( 'Show Social Icons', 'Divi' ),
'section' => 'et_divi_header_information',
$wp_customize->add_setting(
'et_divi[show_search_icon]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'wp_validate_boolean',
$wp_customize->add_control(
'et_divi[show_search_icon]',
'label' => esc_html__( 'Show Search Icon', 'Divi' ),
'section' => 'et_divi_header_information',
$wp_customize->add_setting(
'et_divi[slide_nav_show_top_bar]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'wp_validate_boolean',
$wp_customize->add_control(
'et_divi[slide_nav_show_top_bar]',
'label' => esc_html__( 'Show Top Bar', 'Divi' ),
'section' => 'et_divi_header_slide',
$wp_customize->add_setting(
'et_divi[slide_nav_width]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[slide_nav_width]',
'label' => esc_html__( 'Menu Width', 'Divi' ),
'section' => 'et_divi_header_slide',
$wp_customize->add_setting(
'et_divi[slide_nav_font_size]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[slide_nav_font_size]',
'label' => esc_html__( 'Menu Text Size', 'Divi' ),
'section' => 'et_divi_header_slide',
$wp_customize->add_setting(
'et_divi[slide_nav_top_font_size]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[slide_nav_top_font_size]',
'label' => esc_html__( 'Top Bar Text Size', 'Divi' ),
'section' => 'et_divi_header_slide',
$wp_customize->add_setting(
'et_divi[fullscreen_nav_font_size]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[fullscreen_nav_font_size]',
'label' => esc_html__( 'Menu Text Size', 'Divi' ),
'section' => 'et_divi_header_slide',
$wp_customize->add_setting(
'et_divi[fullscreen_nav_top_font_size]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[fullscreen_nav_top_font_size]',
'label' => esc_html__( 'Top Bar Text Size', 'Divi' ),
'section' => 'et_divi_header_slide',