$wp_customize->add_setting(
'et_divi[fixed_primary_nav_bg]',
'default' => et_get_option( 'primary_nav_bg', '#ffffff' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[fixed_primary_nav_bg]',
'label' => esc_html__( 'Primary Menu Background Color', 'Divi' ),
'section' => 'et_divi_header_fixed',
'settings' => 'et_divi[fixed_primary_nav_bg]',
$wp_customize->add_setting(
'et_divi[fixed_secondary_nav_bg]',
'default' => et_get_option( 'secondary_nav_bg', '#2ea3f2' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[fixed_secondary_nav_bg]',
'label' => esc_html__( 'Secondary Menu Background Color', 'Divi' ),
'section' => 'et_divi_header_fixed',
'settings' => 'et_divi[fixed_secondary_nav_bg]',
$wp_customize->add_setting(
'et_divi[fixed_menu_link]',
'default' => et_get_option( 'menu_link', 'rgba(0,0,0,0.6)' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[fixed_menu_link]',
'label' => esc_html__( 'Primary Menu Link Color', 'Divi' ),
'section' => 'et_divi_header_fixed',
'settings' => 'et_divi[fixed_menu_link]',
$wp_customize->add_setting(
'et_divi[fixed_secondary_menu_link]',
'default' => et_get_option( 'secondary_nav_text_color_new', '#ffffff' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[fixed_secondary_menu_link]',
'label' => esc_html__( 'Secondary Menu Link Color', 'Divi' ),
'section' => 'et_divi_header_fixed',
'settings' => 'et_divi[fixed_secondary_menu_link]',
$wp_customize->add_setting(
'et_divi[fixed_menu_link_active]',
'default' => et_get_option( 'menu_link_active', '#2ea3f2' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[fixed_menu_link_active]',
'label' => esc_html__( 'Active Primary Menu Link Color', 'Divi' ),
'section' => 'et_divi_header_fixed',
'settings' => 'et_divi[fixed_menu_link_active]',
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_html_input_text',
$wp_customize->add_control(
'label' => esc_html__( 'Phone Number', 'Divi' ),
'section' => 'et_divi_header_information',
$wp_customize->add_setting(
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'sanitize_email',
$wp_customize->add_control(
'label' => esc_html__( 'Email', 'Divi' ),
'section' => 'et_divi_header_information',
$wp_customize->add_setting(
'et_divi[show_footer_social_icons]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'wp_validate_boolean',
$wp_customize->add_control(
'et_divi[show_footer_social_icons]',
'label' => esc_html__( 'Show Social Icons', 'Divi' ),
'section' => 'et_divi_footer_elements',
$wp_customize->add_setting(
'et_divi[footer_columns]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_footer_column',
$wp_customize->add_control(
'et_divi[footer_columns]',
'label' => esc_html__( 'Column Layout', 'Divi' ),
'section' => 'et_divi_footer_layout',
'settings' => 'et_divi[footer_columns]',
'choices' => et_divi_footer_column_choices(),
$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__( 'Footer Background Color', 'Divi' ),
'section' => 'et_divi_footer_layout',
'settings' => 'et_divi[footer_bg]',
$wp_customize->add_setting(
'et_divi[widget_header_font_size]',
'default' => absint( et_get_option( 'body_header_size', '30' ) ) * .6,
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[widget_header_font_size]',
'label' => esc_html__( 'Header Text Size', 'Divi' ),
'section' => 'et_divi_footer_widgets',
$wp_customize->add_setting(
'et_divi[widget_header_font_style]',
'default' => et_get_option( 'widget_header_font_style', '' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_font_style',
$wp_customize->add_control(
new ET_Divi_Font_Style_Option(
'et_divi[widget_header_font_style]',
'label' => esc_html__( 'Header Font Style', 'Divi' ),
'section' => 'et_divi_footer_widgets',
'choices' => et_divi_font_style_choices(),
$wp_customize->add_setting(
'et_divi[widget_body_font_size]',
'default' => et_get_option( 'body_font_size', '14' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'absint',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[widget_body_font_size]',
'label' => esc_html__( 'Body/Link Text Size', 'Divi' ),
'section' => 'et_divi_footer_widgets',
$wp_customize->add_setting(
'et_divi[widget_body_line_height]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_float_number',
$wp_customize->add_control(
new ET_Divi_Range_Option(
'et_divi[widget_body_line_height]',
'label' => esc_html__( 'Body/Link Line Height', 'Divi' ),
'section' => 'et_divi_footer_widgets',
$wp_customize->add_setting(
'et_divi[widget_body_font_style]',
'default' => et_get_option( 'footer_widget_body_font_style', '' ),
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_font_style',
$wp_customize->add_control(
new ET_Divi_Font_Style_Option(
'et_divi[widget_body_font_style]',
'label' => esc_html__( 'Body Font Style', 'Divi' ),
'section' => 'et_divi_footer_widgets',
'choices' => et_divi_font_style_choices(),
$wp_customize->add_setting(
'et_divi[footer_widget_text_color]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[footer_widget_text_color]',
'label' => esc_html__( 'Widget Text Color', 'Divi' ),
'section' => 'et_divi_footer_widgets',
'settings' => 'et_divi[footer_widget_text_color]',
$wp_customize->add_setting(
'et_divi[footer_widget_link_color]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[footer_widget_link_color]',
'label' => esc_html__( 'Widget Link Color', 'Divi' ),
'section' => 'et_divi_footer_widgets',
'settings' => 'et_divi[footer_widget_link_color]',
$wp_customize->add_setting(
'et_divi[footer_widget_header_color]',
'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(
'et_divi[footer_widget_header_color]',
'label' => esc_html__( 'Widget Header Color', 'Divi' ),
'section' => 'et_divi_footer_widgets',
'settings' => 'et_divi[footer_widget_header_color]',
$wp_customize->add_setting(
'et_divi[footer_widget_bullet_color]',
'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(
'et_divi[footer_widget_bullet_color]',
'label' => esc_html__( 'Widget Bullet Color', 'Divi' ),
'section' => 'et_divi_footer_widgets',
'settings' => 'et_divi[footer_widget_bullet_color]',
$wp_customize->add_setting(
'et_divi[footer_menu_background_color]',
'default' => 'rgba(255,255,255,0.05)',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[footer_menu_background_color]',
'label' => esc_html__( 'Footer Menu Background Color', 'Divi' ),
'section' => 'et_divi_footer_menu',
'settings' => 'et_divi[footer_menu_background_color]',
$wp_customize->add_setting(
'et_divi[footer_menu_text_color]',
'capability' => 'edit_theme_options',
'transport' => 'postMessage',
'sanitize_callback' => 'et_sanitize_alpha_color',
$wp_customize->add_control(
new ET_Divi_Customize_Color_Alpha_Control(
'et_divi[footer_menu_text_color]',
'label' => esc_html__( 'Footer Menu Text Color', 'Divi' ),
'section' => 'et_divi_footer_menu',
'settings' => 'et_divi[footer_menu_text_color]',
$wp_customize->add_setting(
'et_divi[footer_menu_active_link_color]',
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
'capability' => 'edit_theme_options',