<?php /**
 * Header Sticky Options
 *
 * @package Kadence
 */

namespace Kadence;

use Kadence\Theme_Customizer;
use function Kadence\kadence;

$settings = array(
	'header_sticky_tabs' => array(
		'control_type' =&gt; 'kadence_tab_control',
		'section'      =&gt; 'header_sticky',
		'settings'     =&gt; false,
		'priority'     =&gt; 1,
		'input_attrs'  =&gt; array(
			'general' =&gt; array(
				'label'  =&gt; __( 'General', 'kadence' ),
				'target' =&gt; 'header_sticky',
			),
			'design' =&gt; array(
				'label'  =&gt; __( 'Design', 'kadence' ),
				'target' =&gt; 'header_sticky_design',
			),
			'active' =&gt; 'general',
		),
	),
	'header_sticky_tabs_design' =&gt; array(
		'control_type' =&gt; 'kadence_tab_control',
		'section'      =&gt; 'header_sticky_design',
		'settings'     =&gt; false,
		'priority'     =&gt; 1,
		'input_attrs'  =&gt; array(
			'general' =&gt; array(
				'label'  =&gt; __( 'General', 'kadence' ),
				'target' =&gt; 'header_sticky',
			),
			'design' =&gt; array(
				'label'  =&gt; __( 'Design', 'kadence' ),
				'target' =&gt; 'header_sticky_design',
			),
			'active' =&gt; 'design',
		),
	),
	'header_sticky' =&gt; array(
		'control_type' =&gt; 'kadence_select_control',
		'section'      =&gt; 'header_sticky',
		'priority'     =&gt; 10,
		'transport'    =&gt; 'refresh',
		'default'      =&gt; kadence()-&gt;default( 'header_sticky' ),
		'label'        =&gt; esc_html__( 'Enable Sticky Header?', 'kadence' ),
		'input_attrs'  =&gt; array(
			'options' =&gt; array(
				'no' =&gt; array(
					'name' =&gt; __( 'No', 'kadence' ),
				),
				'main' =&gt; array(
					'name' =&gt; __( 'Yes - Only Main Row', 'kadence' ),
				),
				'top_main' =&gt; array(
					'name' =&gt; __( 'Yes - Top Row &amp; Main Row', 'kadence' ),
				),
				'top_main_bottom' =&gt; array(
					'name' =&gt; __( 'Yes - Whole Header', 'kadence' ),
				),
				'top' =&gt; array(
					'name' =&gt; __( 'Yes - Only Top Row', 'kadence' ),
				),
				'bottom' =&gt; array(
					'name' =&gt; __( 'Yes - Only Bottom Row', 'kadence' ),
				),
			),
		),
	),
	'header_reveal_scroll_up' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'header_sticky',
		'default'      =&gt; kadence()-&gt;default( 'header_reveal_scroll_up' ),
		'label'        =&gt; esc_html__( 'Enable Reveal Sticky on Scroll up', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
		),
	),
	'header_sticky_shrink' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'header_sticky',
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_shrink' ),
		'label'        =&gt; esc_html__( 'Enable Main Row Shrinking', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
		),
	),
	'header_sticky_main_shrink' =&gt; array(
		'control_type' =&gt; 'kadence_range_control',
		'section'      =&gt; 'header_sticky',
		'label'        =&gt; esc_html__( 'Main Row Shrink Height', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'header_sticky_shrink',
				'operator' =&gt; '=',
				'value'    =&gt; true,
			),
			array(
				'setting'  =&gt; 'header_sticky',
				'operator' =&gt; 'contain',
				'value'    =&gt; 'main',
			),
		),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_main_shrink' ),
		'input_attrs'  =&gt; array(
			'min'        =&gt; array(
				'px'  =&gt; 5,
				'em'  =&gt; 0,
				'rem' =&gt; 0,
			),
			'max'        =&gt; array(
				'px'  =&gt; 400,
				'em'  =&gt; 12,
				'rem' =&gt; 12,
			),
			'step'       =&gt; array(
				'px'  =&gt; 1,
				'em'  =&gt; 0.01,
				'rem' =&gt; 0.01,
			),
			'units'      =&gt; array( 'px' ),
			'responsive' =&gt; false,
		),
	),
	'header_sticky_custom_logo' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'header_sticky',
		'transport'    =&gt; 'refresh',
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_custom_logo' ),
		'label'        =&gt; esc_html__( 'Different Logo for Stuck Header?', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'logo_layout',
				'operator'   =&gt; 'sub_object_contains',
				'sub_key'    =&gt; 'include',
				'responsive' =&gt; true,
				'value'      =&gt; 'logo',
			),
			array(
				'setting'  =&gt; 'header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
		),
	),
	'header_sticky_logo' =&gt; array(
		'control_type' =&gt; 'media',
		'section'      =&gt; 'header_sticky',
		'transport'    =&gt; 'refresh',
		'mime_type'    =&gt; 'image',
		'default'      =&gt; '',
		'label'        =&gt; esc_html__( 'Stuck Header Logo', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'logo_layout',
				'operator'   =&gt; 'sub_object_contains',
				'sub_key'    =&gt; 'include',
				'responsive' =&gt; true,
				'value'      =&gt; 'logo',
			),
			array(
				'setting'  =&gt; 'header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
			array(
				'setting'  =&gt; 'header_sticky_custom_logo',
				'operator' =&gt; '=',
				'value'    =&gt; true,
			),
		),
	),
	'header_sticky_logo_width' =&gt; array(
		'control_type' =&gt; 'kadence_range_control',
		'section'      =&gt; 'header_sticky',
		'label'        =&gt; esc_html__( 'Logo Max Width', 'kadence' ),
		'description'  =&gt; esc_html__( 'Define the maxium width for the logo', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
			array(
				'setting'    =&gt; 'logo_layout',
				'operator'   =&gt; 'sub_object_contains',
				'sub_key'    =&gt; 'include',
				'responsive' =&gt; true,
				'value'      =&gt; 'logo',
			),
			array(
				'setting'  =&gt; 'header_sticky_custom_logo',
				'operator' =&gt; '=',
				'value'    =&gt; true,
			),
			array(
				'setting'  =&gt; 'header_sticky_logo',
				'operator' =&gt; '!empty',
				'value'    =&gt; '',
			),
		),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-branding img',
				'property' =&gt; 'max-width',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'size',
			),
		),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_logo_width' ),
		'input_attrs'  =&gt; array(
			'min'     =&gt; array(
				'px'  =&gt; 10,
				'em'  =&gt; 1,
				'rem' =&gt; 1,
				'vw'  =&gt; 2,
				'%'   =&gt; 2,
			),
			'max'     =&gt; array(
				'px'  =&gt; 800,
				'em'  =&gt; 12,
				'rem' =&gt; 12,
				'vw'  =&gt; 80,
				'%'   =&gt; 80,
			),
			'step'    =&gt; array(
				'px'  =&gt; 1,
				'em'  =&gt; 0.01,
				'rem' =&gt; 0.01,
				'vw'  =&gt; 1,
				'%'   =&gt; 1,
			),
			'units'   =&gt; array( 'px', 'em', 'rem', 'vw', '%' ),
		),
	),
	'info_mobile_header_sticky' =&gt; array(
		'control_type' =&gt; 'kadence_title_control',
		'section'      =&gt; 'header_sticky',
		'priority'     =&gt; 20,
		'label'        =&gt; esc_html__( 'Mobile Sticky', 'kadence' ),
		'settings'     =&gt; false,
	),
	'mobile_header_sticky' =&gt; array(
		'control_type' =&gt; 'kadence_select_control',
		'section'      =&gt; 'header_sticky',
		'priority'     =&gt; 20,
		'transport'    =&gt; 'refresh',
		'default'      =&gt; kadence()-&gt;default( 'mobile_header_sticky' ),
		'label'        =&gt; esc_html__( 'Enable Sticky for Mobile?', 'kadence' ),
		'input_attrs'  =&gt; array(
			'options' =&gt; array(
				'no' =&gt; array(
					'name' =&gt; __( 'No', 'kadence' ),
				),
				'main' =&gt; array(
					'name' =&gt; __( 'Yes - Only Main Row', 'kadence' ),
				),
				'top_main' =&gt; array(
					'name' =&gt; __( 'Yes - Top Row &amp; Main Row', 'kadence' ),
				),
				'top_main_bottom' =&gt; array(
					'name' =&gt; __( 'Yes - Whole Header', 'kadence' ),
				),
				'top' =&gt; array(
					'name' =&gt; __( 'Yes - Only Top Row', 'kadence' ),
				),
				'bottom' =&gt; array(
					'name' =&gt; __( 'Yes - Only Bottom Row', 'kadence' ),
				),
			),
		),
	),
	'mobile_header_reveal_scroll_up' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'header_sticky',
		'priority'     =&gt; 20,
		'default'      =&gt; kadence()-&gt;default( 'header_reveal_scroll_up' ),
		'label'        =&gt; esc_html__( 'Enable Reveal Sticky on Scroll up', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'mobile_header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
		),
	),
	'mobile_header_sticky_shrink' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'header_sticky',
		'priority'     =&gt; 20,
		'default'      =&gt; kadence()-&gt;default( 'mobile_header_sticky_shrink' ),
		'label'        =&gt; esc_html__( 'Enabled Main Row Shrinking', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'mobile_header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
		),
	),
	'mobile_header_sticky_main_shrink' =&gt; array(
		'control_type' =&gt; 'kadence_range_control',
		'section'      =&gt; 'header_sticky',
		'priority'     =&gt; 20,
		'label'        =&gt; esc_html__( 'Main Row Shrink Height', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'  =&gt; 'mobile_header_sticky_shrink',
				'operator' =&gt; '=',
				'value'    =&gt; true,
			),
			array(
				'setting'  =&gt; 'mobile_header_sticky',
				'operator' =&gt; 'contain',
				'value'    =&gt; 'main',
			),
		),
		'default'      =&gt; kadence()-&gt;default( 'mobile_header_sticky_main_shrink' ),
		'input_attrs'  =&gt; array(
			'min'        =&gt; array(
				'px'  =&gt; 5,
				'em'  =&gt; 0,
				'rem' =&gt; 0,
			),
			'max'        =&gt; array(
				'px'  =&gt; 400,
				'em'  =&gt; 12,
				'rem' =&gt; 12,
			),
			'step'       =&gt; array(
				'px'  =&gt; 1,
				'em'  =&gt; 0.01,
				'rem' =&gt; 0.01,
			),
			'units'      =&gt; array( 'px' ),
			'responsive' =&gt; false,
		),
	),
	'header_sticky_custom_mobile_logo' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'header_sticky',
		'transport'    =&gt; 'refresh',
		'priority'     =&gt; 20,
		'default'      =&gt; kadence()-&gt;default( 'use_mobile_logo' ),
		'label'        =&gt; esc_html__( 'Different Logo for Mobile?', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'logo_layout',
				'operator'   =&gt; 'sub_object_contains',
				'sub_key'    =&gt; 'include',
				'responsive' =&gt; true,
				'value'      =&gt; 'logo',
			),
			array(
				'setting'  =&gt; 'mobile_header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
		),
	),
	'header_sticky_mobile_logo' =&gt; array(
		'control_type' =&gt; 'media',
		'section'      =&gt; 'header_sticky',
		'transport'    =&gt; 'refresh',
		'priority'     =&gt; 20,
		'mime_type'    =&gt; 'image',
		'default'      =&gt; '',
		'label'        =&gt; esc_html__( 'Mobile Logo', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'logo_layout',
				'operator'   =&gt; 'sub_object_contains',
				'sub_key'    =&gt; 'include',
				'responsive' =&gt; true,
				'value'      =&gt; 'logo',
			),
			array(
				'setting'  =&gt; 'mobile_header_sticky',
				'operator' =&gt; '!=',
				'value'    =&gt; 'no',
			),
			array(
				'setting'  =&gt; 'header_sticky_custom_mobile_logo',
				'operator' =&gt; '=',
				'value'    =&gt; true,
			),
		),
	),
	'header_sticky_site_title_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Site Title Color', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_site_title_color' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-branding .site-title, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-branding .site-description',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Initial Color', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'header_sticky_navigation_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Navigation Colors', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_navigation_color' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li &gt; a, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-toggle-open-container .menu-toggle-open, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .search-toggle-open-container .search-toggle-open',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li &gt; a:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-toggle-open-container .menu-toggle-open:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .search-toggle-open-container .search-toggle-open:hover',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'hover',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li.current-menu-item &gt; a, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li.current_page_item &gt; a',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'active',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Initial Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'hover' =&gt; array(
					'tooltip' =&gt; __( 'Hover Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'active' =&gt; array(
					'tooltip' =&gt; __( 'Active Color', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'header_sticky_navigation_background' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Navigation Items Background', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_navigation_background' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li &gt; a',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li &gt; a:hover',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'hover',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li.current-menu-item &gt; a, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-menu-container &gt; ul &gt; li.current_page_item &gt; a',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'active',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Initial Background', 'kadence' ),
					'palette' =&gt; true,
				),
				'hover' =&gt; array(
					'tooltip' =&gt; __( 'Hover Background', 'kadence' ),
					'palette' =&gt; true,
				),
				'active' =&gt; array(
					'tooltip' =&gt; __( 'Active Background', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'header_sticky_button_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Button Colors', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_button_color' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-header-button-wrap .mobile-header-button',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-header-button-wrap .mobile-header-button:hover',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'hover',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-header-button-wrap .mobile-header-button',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'background',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-header-button-wrap .mobile-header-button:hover',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'backgroundHover',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-header-button-wrap .mobile-header-button',
				'property' =&gt; 'border-color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'border',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-header-button-wrap .mobile-header-button:hover',
				'property' =&gt; 'border-color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'borderHover',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'hover' =&gt; array(
					'tooltip' =&gt; __( 'Hover Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'background' =&gt; array(
					'tooltip' =&gt; __( 'Background', 'kadence' ),
					'palette' =&gt; true,
				),
				'backgroundHover' =&gt; array(
					'tooltip' =&gt; __( 'Background Hover', 'kadence' ),
					'palette' =&gt; true,
				),
				'border' =&gt; array(
					'tooltip' =&gt; __( 'Border', 'kadence' ),
					'palette' =&gt; true,
				),
				'borderHover' =&gt; array(
					'tooltip' =&gt; __( 'Border Hover', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'header_sticky_social_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Social Colors', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_social_color' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-social-wrap a.social-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-social-wrap a.social-button',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-social-wrap a.social-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-social-wrap a.social-button:hover',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'hover',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-social-wrap a.social-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-social-wrap a.social-button',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'background',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-social-wrap a.social-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-social-wrap a.social-button:hover',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'backgroundHover',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-social-wrap a.social-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-social-wrap a.social-button',
				'property' =&gt; 'border-color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'border',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-social-wrap a.social-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-social-wrap a.social-button:hover',
				'property' =&gt; 'border-color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'borderHover',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'hover' =&gt; array(
					'tooltip' =&gt; __( 'Hover Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'background' =&gt; array(
					'tooltip' =&gt; __( 'Background', 'kadence' ),
					'palette' =&gt; true,
				),
				'backgroundHover' =&gt; array(
					'tooltip' =&gt; __( 'Background Hover', 'kadence' ),
					'palette' =&gt; true,
				),
				'border' =&gt; array(
					'tooltip' =&gt; __( 'Border', 'kadence' ),
					'palette' =&gt; true,
				),
				'borderHover' =&gt; array(
					'tooltip' =&gt; __( 'Border Hover', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'header_sticky_html_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'HTML Colors', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_html_color' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-html,#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-html',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-html a, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-html a',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'link',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-html a:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .mobile-html a:hover',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'hover',
			),
		),
		'context'      =&gt; array(
			array(
				'setting'  =&gt; '__device',
				'operator' =&gt; '==',
				'value'    =&gt; 'desktop',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'link' =&gt; array(
					'tooltip' =&gt; __( 'Link Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'hover' =&gt; array(
					'tooltip' =&gt; __( 'Link Hover', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'header_sticky_background' =&gt; array(
		'control_type' =&gt; 'kadence_background_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Sticky Header Background', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_background' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_background',
				'selector' =&gt; '.wp-site-blocks #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container), .wp-site-blocks #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) &gt; .site-header-row-container-inner',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'base',
			),
		),
		'input_attrs'  =&gt; array(
			'tooltip'  =&gt; __( 'Sticky Header Background', 'kadence' ),
		),
	),
	'header_sticky_bottom_border' =&gt; array(
		'control_type' =&gt; 'kadence_border_control',
		'section'      =&gt; 'header_sticky_design',
		'label'        =&gt; esc_html__( 'Sticky Bottom Border', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'header_sticky_bottom_border' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_border',
				'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start)',
				'property' =&gt; 'border-bottom',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'border',
			),
		),
	),
);
if ( class_exists( 'woocommerce' ) ) {
	$settings = array_merge(
		$settings,
		array(
			'header_sticky_cart_color' =&gt; array(
				'control_type' =&gt; 'kadence_color_control',
				'section'      =&gt; 'header_sticky_design',
				'label'        =&gt; esc_html__( 'Cart Colors', 'kadence' ),
				'default'      =&gt; kadence()-&gt;default( 'header_sticky_cart_color' ),
				'live_method'     =&gt; array(
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button',
						'property' =&gt; 'color',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'color',
					),
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button:hover, , #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button:hover',
						'property' =&gt; 'color',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'hover',
					),
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button',
						'property' =&gt; 'background',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'background',
					),
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button:hover, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button:hover',
						'property' =&gt; 'background',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'backgroundHover',
					),
				),
				'input_attrs'  =&gt; array(
					'colors' =&gt; array(
						'color' =&gt; array(
							'tooltip' =&gt; __( 'Color', 'kadence' ),
							'palette' =&gt; true,
						),
						'hover' =&gt; array(
							'tooltip' =&gt; __( 'Hover Color', 'kadence' ),
							'palette' =&gt; true,
						),
						'background' =&gt; array(
							'tooltip' =&gt; __( 'Background', 'kadence' ),
							'palette' =&gt; true,
						),
						'backgroundHover' =&gt; array(
							'tooltip' =&gt; __( 'Background Hover', 'kadence' ),
							'palette' =&gt; true,
						),
					),
				),
			),
			'header_sticky_cart_total_color' =&gt; array(
				'control_type' =&gt; 'kadence_color_control',
				'section'      =&gt; 'header_sticky_design',
				'label'        =&gt; esc_html__( 'Cart Total Colors', 'kadence' ),
				'default'      =&gt; kadence()-&gt;default( 'header_sticky_cart_total_color' ),
				'live_method'     =&gt; array(
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button .header-cart-total, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button .header-cart-total',
						'property' =&gt; 'color',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'color',
					),
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button:hover .header-cart-total, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button:hover .header-cart-total',
						'property' =&gt; 'color',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'hover',
					),
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button .header-cart-total, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button .header-cart-total',
						'property' =&gt; 'background',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'background',
					),
					array(
						'type'     =&gt; 'css',
						'selector' =&gt; '#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-cart-wrap .header-cart-button:hover .header-cart-total, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .header-mobile-cart-wrap .header-cart-button:hover .header-cart-total',
						'property' =&gt; 'background',
						'pattern'  =&gt; '$',
						'key'      =&gt; 'backgroundHover',
					),
				),
				'input_attrs'  =&gt; array(
					'colors' =&gt; array(
						'color' =&gt; array(
							'tooltip' =&gt; __( 'Color', 'kadence' ),
							'palette' =&gt; true,
						),
						'hover' =&gt; array(
							'tooltip' =&gt; __( 'Hover Color', 'kadence' ),
							'palette' =&gt; true,
						),
						'background' =&gt; array(
							'tooltip' =&gt; __( 'Background', 'kadence' ),
							'palette' =&gt; true,
						),
						'backgroundHover' =&gt; array(
							'tooltip' =&gt; __( 'Background Hover', 'kadence' ),
							'palette' =&gt; true,
						),
					),
				),
			),
		)
	);
}

Theme_Customizer::add_settings( $settings );

