File: /home/codo66ho/www/wp-content/themes/autodeal/inc/customizer/color/topbar.php
<?php
// Top bar Background
$wp_customize->add_setting(
'topbar_background_color',
array(
'default' => themesflat_customize_default('topbar_background_color'),
'sanitize_callback' => 'esc_attr',
)
);
$wp_customize->add_control( new themesflat_ColorOverlay(
$wp_customize,
'topbar_background_color',
array(
'label' => esc_html__('Background', 'autodeal'),
'section' => 'color_topbar',
'priority' => 1
)
)
);
// Top bar text color
$wp_customize->add_setting(
'topbar_textcolor',
array(
'default' => themesflat_customize_default('topbar_textcolor'),
'sanitize_callback' => 'esc_attr',
)
);
$wp_customize->add_control(
new themesflat_ColorOverlay(
$wp_customize,
'topbar_textcolor',
array(
'label' => esc_html__('Text Color', 'autodeal'),
'section' => 'color_topbar',
'settings' => 'topbar_textcolor',
'priority' => 3
)
)
);
// Topbar Link Color Hover
$wp_customize->add_setting(
'topbar_link_color',
array(
'default' => themesflat_customize_default('topbar_link_color'),
'sanitize_callback' => 'esc_attr',
)
);
$wp_customize->add_control(
new themesflat_ColorOverlay(
$wp_customize,
'topbar_link_color',
array(
'label' => esc_html__('Link Color', 'autodeal'),
'section' => 'color_topbar',
'settings' => 'topbar_link_color',
'priority' => 4
)
)
);
// Topbar Link Color Hover
$wp_customize->add_setting(
'topbar_link_color_hover',
array(
'default' => themesflat_customize_default('topbar_link_color_hover'),
'sanitize_callback' => 'esc_attr',
)
);
$wp_customize->add_control(
new themesflat_ColorOverlay(
$wp_customize,
'topbar_link_color_hover',
array(
'label' => esc_html__('Link Color Hover', 'autodeal'),
'section' => 'color_topbar',
'settings' => 'topbar_link_color_hover',
'priority' => 5
)
)
);