function weaverx_cz_add_injection($root, $label = '', $description = '', $version = 'XPlus')
{
    $opt = array();
    if ($version == 'XPlus') {
        $label .= WEAVERX_PLUS_ICON;
    }
    $opt[$root . '-heading'] = weaverx_cz_group_title($label);
    if ($description) {
        $opt[$root . '-desc'] = array('control' => array('control_type' => 'WeaverX_Misc_Control', 'description' => $description, 'type' => 'text'));
    }
    if ($version != 'XPlus' || weaverx_cz_is_plus()) {
        $opt["{$root}_insert"] = array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_html', 'transport' => 'postMessage', 'default' => ''), 'control' => array('control_type' => 'WeaverX_Textarea_Control', 'label' => __('HTML', 'weaver-xtreme'), 'type' => 'textarea', 'input_attrs' => array('rows' => '3', 'placeholder' => __('Any HTML, including shortcodes.', 'weaver-xtreme'))));
        $opt["inject_{$root}_bgcolor"] = array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => 'postMessage', 'default' => weaverx_cz_getopt("inject_{$root}_bgcolor")), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('BG Color', 'weaver-xtreme'), 'description' => ''));
        $opt["inject_{$root}_bgcolor_css"] = weaverx_cz_css(__('Custom CSS', 'weaver-xtreme'));
        $opt["inject_add_class_{$root}"] = array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_html', 'transport' => 'refresh', 'default' => ''), 'control' => array('control_type' => WEAVERX_PLUS_TEXT_CONTROL, 'label' => __('Add Classes', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Space separated class names to add to this area (<em>Advanced option</em>) (&starf;Plus)', 'weaver-xtreme'), 'type' => 'text', 'input_attrs' => array()));
        $opt["hide_front_{$root}"] = weaverx_cz_checkbox_refresh(__('Hide on front page', 'weaver-xtreme'), __('If you check this box, then the code from this area will not be displayed on the front (home) page.', 'weaver-xtreme'));
        $opt["hide_rest_{$root}"] = weaverx_cz_checkbox_refresh(__('Hide on non-front pages', 'weaver-xtreme'), __('If you check this box, then the code from this area will not be displayed on non-front pages.', 'weaver-xtreme'));
    }
    // is plus
    $opt[$root . '-line-break'] = array('control' => array('control_type' => 'WeaverX_Misc_Control', 'label' => '', 'type' => 'line'));
    return $opt;
}
 /**
  * Define the sections and settings for the spacing panel
  */
 function weaverx_customizer_define_spacing_sections($sections)
 {
     $panel = 'weaverx_spacing';
     $spacing_sections = array();
     // global settings
     $spacing_sections['spacing-global'] = array('panel' => $panel, 'title' => __('Global Spacing Options', 'weaver-xtreme'), 'description' => 'Set some global settings that affect spacing, width, and alignment.', 'options' => array('theme_width_int' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 940), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Theme Width (px)', 'weaver-xtreme'), 'description' => __('This options sets the maximum width of your site. Your site will automatically display responsively on tablets and phones. You can manually set the value to 9999 for full screen width, or to any other value you want. Widths less than 768px may give unexpected results on mobile devices. Weaver Xtreme can not create a fixed-width site.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 770, 'max' => 3200, 'step' => 10))), 'spacing-line-1' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'smart_margin_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 1.0), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Smart Margin Width (%)', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Width used for smart column margins for Sidebars and Content Area. (Default: 1%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0.25, 'max' => 10.0, 'step' => 0.25)))));
     /**
      * General
      */
     $container_width_transport = weaverx_getopt_checked('container_extend_width') ? 'refresh' : 'postMessage';
     $container_refresh = weaverx_getopt_checked('container_extend_width') ? WEAVERX_REFRESH_ICON : '';
     $spacing_sections['spacing-wrapping'] = array('panel' => $panel, 'title' => __('Wrapping Areas', 'weaver-xtreme'), 'description' => 'Set margins, padding, spacing, heights, positioning, and widths for site wrapper and container.', 'options' => array('full_browser_height' => array('setting' => array(), 'control' => array('label' => __('Full Browser Height', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('For short pages, add extra padding to  of content to force full browser height.', 'weaver-xtreme'), 'type' => 'checkbox')), 'wrapper-space-heading' => weaverx_cz_group_title(__('Global Wrapper Area', 'weaver-xtreme'), __('The Wrapper is the &lt;div&gt; that wraps entire site.', 'weaver-xtreme')), 'wrapper_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'description' => __('These options control the padding (inner space) around the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'wrapper_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'wrapper_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'wrapper_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'wrapper_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'description' => __('Set Top and Bottom Margins. <em>Side margins are auto-generated.</em>', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'wrapper_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'container-space-heading' => weaverx_cz_group_title(__('Container Area', 'weaver-xtreme'), __('The Container is the &lt;div&gt; that wraps the content. Does not include Header and Footer.', 'weaver-xtreme')), 'container_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => $container_width_transport, 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Container Width (%)', 'weaver-xtreme') . $container_refresh, 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Container "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'container_max_width_int' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 2000), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Container Area Max Width (px)', 'weaver-xtreme') . WEAVERX_PLUS_ICON, 'description' => __('This advanced option allows you to set a maximum width for this area. This is not commonly used, but can make interesting designs, especially if you center align the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 480, 'max' => 4000, 'step' => 5))), 'container_align' => weaverx_cz_select(__('Align Container Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', $container_width_transport), 'container_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'description' => __('These options control the padding (inner space) around the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'container_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'container_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => $container_width_transport, 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme') . $container_refresh, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'container_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => $container_width_transport, 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme') . $container_refresh, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'container_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'container_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1)))));
     /**
      * Site Header
      *
      */
     $hdr_width_transport = weaverx_getopt_checked('header_extend_width') ? 'refresh' : 'postMessage';
     $hdr_refresh = weaverx_getopt_checked('header_extend_width') ? WEAVERX_REFRESH_ICON : '';
     $spacing_sections['spacing-header'] = array('panel' => $panel, 'title' => __('Header Area', 'weaver-xtreme'), 'description' => __('Set spacing for Header Area. Option groups include <span style="color:blue;">Site Header Area, Site Title and Tagline, Header Widget Area</span>, and <span style="color:blue;">Header HTML Area</span>.', 'weaver-xtreme'), 'options' => array('spacing-heading-header' => weaverx_cz_group_title(__('Site Header Area', 'weaver-xtreme'), __('Spacing of the whole Header Area', 'weaver-xtreme')), 'header_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => $hdr_width_transport, 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Header Area Width (%)', 'weaver-xtreme') . $hdr_refresh, 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Header "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'header_max_width_int' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 2000), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Header Area Max Width (px)', 'weaver-xtreme') . WEAVERX_PLUS_ICON, 'description' => __('This advanced option allows you to set a maximum width for this area. This is not commonly used, but can make interesting designs, especially if you center align the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 480, 'max' => 4000, 'step' => 5))), 'header_align' => weaverx_cz_select(__('Align Header Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', 'postMessage'), 'header_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'description' => __('These options control the padding (inner space) around the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => $hdr_width_transport, 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme') . $hdr_refresh, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => $hdr_width_transport, 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme') . $hdr_refresh, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-title-header' => weaverx_cz_group_title(__('Site Title and Tagline', 'weaver-xtreme'), __('Spacing for the Site Title and Tagline', 'weaver-xtreme')), 'title_over_image' => array('setting' => array(), 'control' => array('label' => __('Move Title/Tagline over Image', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Move the Title, Tagline, Search, Logo/HTML and Mini Menu over the Header Image.', 'weaver-xtreme'), 'type' => 'checkbox')), 'spacing-titleposition' => weaverx_cz_heading(__('Title Position', 'weaver-xtreme'), __('Adjust left and top margins for Title. Decimal and negative values allowed.', 'weaver-xtreme')), 'site_title_position_xy_X' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 7), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Site Title Left Margin (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -20, 'max' => 50, 'step' => 0.25))), 'site_title_position_xy_Y' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 0.25), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Site Title Top Margin (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -50, 'max' => 50, 'step' => 0.25))), 'site_title_max_w' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 90), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Site Title Maximum Width (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 1))), 'spacing-tagposition' => weaverx_cz_heading(__('Tagline Position', 'weaver-xtreme'), __('Adjust left and top margins for Tagline. Decimal and negative values allowed.', 'weaver-xtreme')), 'tagline_xy_X' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 10), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Site Tagline Left Margin (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -20, 'max' => 50, 'step' => 0.25))), 'tagline_xy_Y' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Site Tagline Top Margin (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -50, 'max' => 50, 'step' => 0.25))), 'tagline_max_w' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 90), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Site Tagline Maximum Width (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 1))), 'spacing-mm-note' => weaverx_cz_heading(__('Header Mini Menu Top Margin', 'weaver-xtreme'), __('This setting is found on the <em>Spacing &rarr; Menus</em>.', 'weaver-xtreme')), 'spacing-widgetarea-header' => weaverx_cz_group_title(__('Header Widget Area', 'weaver-xtreme'), __('Spacing for the Header Widget Area', 'weaver-xtreme')), 'header_sb_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Header Widget Area Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Align Header Widget Area "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'header_sb_align' => weaverx_cz_select(__('Align Header Widget Area Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'header_sb_align', 'refresh'), 'header_sb_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_sb_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_sb_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_sb_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_sb_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_sb_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-heading-widgets' => weaverx_cz_heading(__('Widget Area Columns', 'weaver-xtreme'), __('<strong>NOTE:</strong> You can set number of columns per widget area on the <em>Layout</em> panel.', 'weaver-xtreme')), 'spacing-htmltarea-header' => weaverx_cz_group_title(__('Header HTML Area', 'weaver-xtreme'), __('Spacing for the Header HTML Area', 'weaver-xtreme')), 'header_html_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Header HTML Area Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Align HTML Area "Center align" setting. You will have to "Save & Publish" and refresh this page if you are using Center Area align.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'header_html_align' => weaverx_cz_select(__('Align Header HTML Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', 'refresh'), 'header_html_center_content' => array('setting' => array('transport' => 'postMessage'), 'control' => array('label' => __('Center Content within HTML Area', 'weaver-xtreme'), 'type' => 'checkbox')), 'header_html_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_html_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_html_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_html_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_html_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'header_html_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1)))));
     /**
      * Main Menu
      */
     $spacing_sections['spacing-menus'] = array('panel' => $panel, 'title' => __('Menus', 'weaver-xtreme'), 'description' => __('Set spacing for Primary, Secondary, and Extra Menus.', 'weaver-xtreme'), 'options' => array('primary-mm-title' => weaverx_cz_group_title(__('Primary Menu', 'weaver-xtreme')), 'm_primary_align' => weaverx_cz_select(__('Align Primary Menu Bar', 'weaver-xtreme'), __('Align this menu on desktop view. Mobile, accordion, and vertical menus always left aligned.', 'weaver-xtreme'), 'weaverx_cz_choices_align_menu', 'float-left'), 'm_primary_menu_pad_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0.6), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Desktop Menu Vertical Padding (em)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Add vertical padding to Desktop menu bar and submenus.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 10, 'step' => 0.1))), 'm_primary_top_margin_dec' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Menu Top Margin (px)', 'weaver-xtreme'), 'description' => '', 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 1))), 'm_primary_bottom_margin_dec' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Menu Bottom Margin (px)', 'weaver-xtreme'), 'description' => '', 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 1))), 'm_primary_right_padding_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0.0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Desktop Menu Spacing (em)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Add space between desktop menu bar items. (not on Smart Menus)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0.0, 'max' => 6, 'step' => 0.2))), 'm_primary_html_margin_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Menu HTML: Top Margin (em)', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Margin above Added Menu HTML (Used to adjust for Desktop menu. Negative values can help.)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -5.0, 'max' => 5.0, 'step' => 0.1))), 'spacing-pm-line1' => weaverx_cz_line(), 'spacing-sm-heading' => weaverx_cz_group_title(__('Secondary Menu', 'weaver-xtreme'), __('You must define a Secondary Menu from the Custom Menus Content menu.', 'weaver-xtreme')), 'm_secondary_align' => weaverx_cz_select(__('Align Secondary Menu Bar', 'weaver-xtreme'), __('Align this menu on desktop view. Mobile, accordion, and vertical menus always left aligned.', 'weaver-xtreme'), 'weaverx_cz_choices_align_menu', 'float-left'), 'm_secondary_menu_pad_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0.6), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Desktop Menu Vertical Padding (em)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Add vertical padding to Desktop menu bar and submenus.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 10, 'step' => 0.1))), 'm_secondary_top_margin_dec' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Menu Top Margin (px)', 'weaver-xtreme'), 'description' => '', 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 1))), 'm_secondary_bottom_margin_dec' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Menu Bottom Margin (px)', 'weaver-xtreme'), 'description' => '', 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 1))), 'm_secondary_right_padding_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0.0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Desktop Menu Spacing (em)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Add space between desktop menu bar items. (not on Smart Menus)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0.0, 'max' => 6, 'step' => 0.2))), 'm_secondary_html_margin_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Menu HTML: Top Margin (em)', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Margin above Added Menu HTML (Used to adjust for Desktop menu. Negative values can help.)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -5.0, 'max' => 5.0, 'step' => 0.1))), 'spacing-mm-heading' => weaverx_cz_group_title(__('Header Mini Menu', 'weaver-xtreme'), ''), 'm_header_mini_top_margin_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 0.0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Mini Menu Top Margin (em))', 'weaver-xtreme'), 'description' => __('Top margin for Header Mini Menu. Negative value moves it up. (Default: -1.0em', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -10.0, 'max' => 10.0, 'step' => 0.25)))));
     if (weaverx_cz_is_plus()) {
         $new_opts = array('spacing-xm-line1' => weaverx_cz_line(), 'extra-mm-title' => weaverx_cz_group_title(__('Extra Menu', 'weaver-xtreme') . WEAVERX_PLUS_ICON), 'm_extra_align' => weaverx_cz_select(__('Align Extra Menu Bar', 'weaver-xtreme'), __('Align this menu on desktop view. Mobile, accordion, and vertical menus always left aligned.', 'weaver-xtreme'), 'weaverx_cz_choices_align_menu', 'float-left'), 'm_extra_menu_pad_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0.6), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Desktop Menu Vertical Padding (em)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Add vertical padding to Desktop menu bar and submenus.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 10, 'step' => 0.1))), 'm_extra_top_margin_dec' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Menu Top Margin (px)', 'weaver-xtreme'), 'description' => '', 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 1))), 'm_extra_bottom_margin_dec' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Menu Bottom Margin (px)', 'weaver-xtreme'), 'description' => '', 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 1))), 'm_extra_right_padding_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0.0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Desktop Menu Spacing (em)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Add space between desktop menu bar items. (not on Smart Menus)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0.0, 'max' => 6, 'step' => 0.2))), 'm_extra_html_margin_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 0), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Menu HTML: Top Margin (em)', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Margin above Added Menu HTML (Used to adjust for Desktop menu. Negative values can help.)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -5.0, 'max' => 5.0, 'step' => 0.1))));
     } else {
         $new_opts = weaverx_cz_add_plus_message('spacing_menus', __('Extra Menu', 'weaver-xtreme'), __('Add extra menus with <strong>Weaver Xtreme Plus</strong>.', 'weaver-xtreme'));
     }
     // add stub or extra menu options
     $spacing_sections['spacing-menus']['options'] = array_merge($spacing_sections['spacing-menus']['options'], $new_opts);
     /**
      * Info Bar
      */
     $spacing_sections['spacing-info-bar'] = array('panel' => $panel, 'title' => __('Info Bar', 'weaver-xtreme'), 'description' => __('Info Bar with breadcrumbs and paged navigation displayed under Primary Menu.', 'weaver-xtreme'), 'options' => array('spacing-info-bar-heading' => weaverx_cz_heading(__('Info Bar', 'weaver-xtreme')), 'infobar_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Info Bar Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Info Bar "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'infobar_align' => weaverx_cz_select(__('Align Info Bar Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', 'refresh'), 'infobar_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 5), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'description' => __('These options control the padding (inner space) around the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'infobar_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 5), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'infobar_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 5), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'infobar_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 5), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'infobar_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'infobar_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1)))));
     /**
      * Content
      */
     $spacing_sections['spacing-content'] = array('panel' => $panel, 'title' => __('Content', 'weaver-xtreme'), 'description' => __('Spacing for general page and post content.', 'weaver-xtreme'), 'options' => array('content_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 4), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'content_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'content_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 2), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 0.25))), 'content_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 2), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 0.25))), 'content_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'content_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-content-widthinfo' => weaverx_cz_heading(__('Width', 'weaver-xtreme'), __('The width of this area is automatically determined by the enclosing area.', 'weaver-xtreme')), 'content_smartmargin' => array('setting' => array(), 'control' => array('label' => __('Add Side Margin(s)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Automatically add left/right "smart" margins for separation of areas (sidebar/content). This is normally used only if you have borders or BG colors for your sidebars.', 'weaver-xtreme'), 'type' => 'checkbox')), 'space_after_title_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 1.0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Space Between Title and Content (em)', 'weaver-xtreme'), 'description' => __('Space between Page or Post title and beginning of content.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 20.0, 'step' => 0.1))), 'content_p_list_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Space after paragraphs and lists (em)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 20.0, 'step' => 0.1)))));
     /**
      * Post Specific
      */
     $spacing_sections['spacing-post-specific'] = array('panel' => $panel, 'title' => __('Post Specific', 'weaver-xtreme'), 'description' => __('Post Specific spacing - override Content spacing.', 'weaver-xtreme'), 'options' => array('post_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'post_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'post_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 0.25))), 'post_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (%)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 30, 'step' => 0.25))), 'post_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'post_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-post-widthinfo' => weaverx_cz_heading(__('Width', 'weaver-xtreme'), __('The width of this area is automatically determined by the enclosing area.', 'weaver-xtreme')), 'post_smartmargin' => array('setting' => array(), 'control' => array('label' => __('Add Side Margin(s)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Automatically add left/right "smart" margins for separation of areas (sidebar/content). This is normally used only if you have borders or BG colors for your sidebars.', 'weaver-xtreme'), 'type' => 'checkbox')), 'post_title_bottom_margin_dec' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 0.2), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Space Between Post Title and Content (em)', 'weaver-xtreme'), 'description' => __('Space between Post title and beginning of content. This will adjust/override the equivalent Content setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => -5.0, 'max' => 20.0, 'step' => 0.1)))));
     /**
      * Sidebars
      */
     $spacing_sections['spacing-sidebars'] = array('panel' => $panel, 'title' => __('Sidebars / Widget Areas', 'weaver-xtreme'), 'description' => __('Main Sidebars and Widget areas.', 'weaver-xtreme'), 'options' => array('spacing-sidbars-heading' => weaverx_cz_group_title(__('Sidebar Widths', 'weaver-xtreme'), __('Width of the left and right vertical sidebars in the Container Area. Note that the width of the adjoining Content area is automatically determined by the sidebar layouts and widths.', 'weaver-xtreme')), 'left_sb_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 25), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Sidebar Width (%)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 90, 'step' => 0.5))), 'right_sb_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 25), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Sidebar Width (%)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 90, 'step' => 0.5))), 'left_split_sb_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 25), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Width for Split Sidebar, Left Side', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 100, 'step' => 0.5))), 'right_split_sb_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'refresh', 'default' => 25), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Width for Split Sidebar, Right Side', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 100, 'step' => 0.5))), 'spacing-primary-widget-heading' => weaverx_cz_group_title(__('Primary Widget Area', 'weaver-xtreme')), 'primary_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'primary_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'primary_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'primary_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'primary_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'primary_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-primary-widthinfo' => weaverx_cz_heading(__('Width', 'weaver-xtreme'), __('The width of this area is automatically determined by the enclosing area.', 'weaver-xtreme')), 'primary_smartmargin' => array('setting' => array(), 'control' => array('label' => __('Add Side Margin(s)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Automatically add left/right "smart" margins for separation of areas (sidebar/content). This is normally used only if you have borders or BG colors for your sidebars.', 'weaver-xtreme'), 'type' => 'checkbox')), 'spacing-primary-widgets' => weaverx_cz_heading(__('Widget Area Columns', 'weaver-xtreme'), __('<strong>NOTE:</strong> You can set number of columns per widget area on the <em>Layout</em> panel.', 'weaver-xtreme')), 'spacing-secondary-widget-heading' => weaverx_cz_group_title(__('Secondary Widget Area', 'weaver-xtreme')), 'secondary_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'secondary_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'secondary_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'secondary_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'secondary_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'secondary_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-secondary-widthinfo' => weaverx_cz_heading(__('Width', 'weaver-xtreme'), __('The width of this area is automatically determined by the enclosing area.', 'weaver-xtreme')), 'secondary_smartmargin' => array('setting' => array(), 'control' => array('label' => __('Add Side Margin(s)', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Automatically add left/right "smart" margins for separation of areas (sidebar/content). This is normally used only if you have borders or BG colors for your sidebars.', 'weaver-xtreme'), 'type' => 'checkbox')), 'spacing-secondary-widgets' => weaverx_cz_heading(__('Widget Area Columns', 'weaver-xtreme'), __('<strong>NOTE:</strong> You can set number of columns per widget area on the <em>Layout</em> panel.', 'weaver-xtreme')), 'spacing-top-widget-heading' => weaverx_cz_group_title(__('Top Widget Areas', 'weaver-xtreme'), __('Properties for all Top Widget areas (Sitewide, Pages, Blog, Archive).', 'weaver-xtreme')), 'top_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Widget Areas Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Container "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'top_align' => weaverx_cz_select(__('Align Container Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', 'postMessage'), 'top_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'top_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'top_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'top_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'top_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 10), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'top_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 10), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-top-widgets' => weaverx_cz_heading(__('Widget Area Columns', 'weaver-xtreme'), __('<strong>NOTE:</strong> You can set number of columns per widget area on the <em>Layout</em> panel.', 'weaver-xtreme')), 'spacing-bottom-widget-heading' => weaverx_cz_group_title(__('Bottom Widget Areas', 'weaver-xtreme'), __('Properties for all Bottom Widget areas (Sitewide, Pages, Blog, Archive).', 'weaver-xtreme')), 'bottom_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Widget Areas Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Container "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'bottom_align' => weaverx_cz_select(__('Align Container Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', 'postMessage'), 'bottom_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'bottom_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'bottom_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'bottom_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'bottom_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 10), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'bottom_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 10), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-bottom-widgets' => weaverx_cz_heading(__('Widget Area Columns', 'weaver-xtreme'), __('<strong>NOTE:</strong> You can set number of columns per widget area on the <em>Layout</em> panel.', 'weaver-xtreme'))));
     /**
      * Widgets
      */
     $spacing_sections['spacing-widgets'] = array('panel' => $panel, 'title' => __('Individual Widgets', 'weaver-xtreme'), 'description' => __('Padding and Margins for Individual Widgets. Widget width responsively determined by enclosing area.', 'weaver-xtreme'), 'options' => array('widget_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'widget_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'widget_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'widget_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'widget_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'widget_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1)))));
     /**
      * Footer
      */
     $foot_width_transport = weaverx_getopt_checked('footer_extend_width') ? 'refresh' : 'postMessage';
     $foot_refresh = weaverx_getopt_checked('footer_extend_width') ? WEAVERX_REFRESH_ICON : '';
     $spacing_sections['spacing-footer'] = array('panel' => $panel, 'title' => __('Footer Area', 'weaver-xtreme'), 'description' => __('Set spacing for Footer Area. Option groups include <span style="color:blue;">Site Footer Area, Site Title and Tagline, Footer Widget Area</span>, and <span style="color:blue;">Footer HTML Area</span>.', 'weaver-xtreme'), 'options' => array('spacing-heading-footer' => weaverx_cz_group_title(__('Site Footer Area', 'weaver-xtreme'), __('Spacing of the whole Footer Area', 'weaver-xtreme')), 'footer_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => $foot_width_transport, 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Footer Area Width (%)', 'weaver-xtreme') . $foot_refresh, 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Footer "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'footer_max_width_int' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 2000), 'control' => array('control_type' => WEAVERX_PLUS_RANGE_CONTROL, 'label' => __('Footer Area Max Width (px)', 'weaver-xtreme') . WEAVERX_PLUS_ICON, 'description' => __('This advanced option allows you to set a maximum width for this area. This is not commonly used, but can make interesting designs, especially if you center align the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 480, 'max' => 4000, 'step' => 5))), 'footer_align' => weaverx_cz_select(__('Align Footer Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', $foot_width_transport), 'footer_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'description' => __('These options control the padding (inner space) around the area.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => $foot_refresh, 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme') . $foot_refresh, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => $foot_width_transport, 'default' => 8), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme') . $foot_refresh, 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-widgetarea-footer' => weaverx_cz_group_title(__('Footer Widget Area', 'weaver-xtreme'), __('Spacing for the Footer Widget Area', 'weaver-xtreme')), 'footer_sb_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Footer Widget Area Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Align Footer Widget Area "Center align" setting.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'footer_sb_align' => weaverx_cz_select(__('Align Footer Widget Area Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'postMessage', 'postMessage'), 'footer_sb_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_sb_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_sb_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_sb_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_sb_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_sb_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'spacing-footer-widgets' => weaverx_cz_heading(__('Widget Area Columns', 'weaver-xtreme'), __('<strong>NOTE:</strong> You can set number of columns per widget area on the <em>Layout</em> panel.', 'weaver-xtreme')), 'spacing-htmltarea-footer' => weaverx_cz_group_title(__('Footer HTML Area', 'weaver-xtreme'), __('Spacing for the Footer HTML Area', 'weaver-xtreme')), 'footer_html_width_int' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_float', 'transport' => 'postMessage', 'default' => 100), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Footer HTML Area Width (%)', 'weaver-xtreme'), 'description' => __('Width of Area in % of enclosing area on desktop and small tablet. Hint: use with Align HTML Area "Center align" setting. You will have to "Save & Publish" and refresh this page if you are using Center Area align.', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 10, 'max' => 100, 'step' => 0.5))), 'footer_html_align' => weaverx_cz_select(__('Align Footer HTML Area', 'weaver-xtreme'), '', 'weaverx_cz_choices_align', 'float-left', 'refresh'), 'footer_html_center_content' => array('setting' => array('transport' => 'postMessage'), 'control' => array('label' => __('Center Content within HTML Area', 'weaver-xtreme'), 'type' => 'checkbox')), 'footer_html_padding_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_html_padding_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_html_padding_L' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Left Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_html_padding_R' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Right Padding (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_html_margin_T' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Top Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1))), 'footer_html_margin_B' => array('setting' => array('sanitize_callback' => 'absint', 'transport' => 'postMessage', 'default' => 0), 'control' => array('control_type' => 'WeaverX_Range_Control', 'label' => __('Bottom Margin (px)', 'weaver-xtreme'), 'type' => 'range', 'input_attrs' => array('min' => 0, 'max' => 150, 'step' => 1)))));
     $spacing_sections['spacing-fullwidth'] = array('panel' => $panel, 'title' => __('Full Width Site', 'weaver-xtreme'), 'description' => __('Weaver Xtreme features several options specifically designed to create exciting full width site designs. Although one could logically place these options in other panels, putting most of them all here is easier. The overall site width is still on the <em>Spacing &rarr; Global Spacing<em> panel. <strong>You likely want to change the default site width.</strong> Using the options available here, the strategy is to confine you content to a reasonable width, perhaps 1600 or 1900. Then you can extend attribute to the full screen width without making your content area too wide. You can also get interesting effects by adjusting the widths of each of these sections on the <em>Spacing</em> panel. Just play with these options to see how they all work together! And remember, your site will always automatically adjust to mobile devices.', 'weaver-xtreme'), 'options' => array('general-full-header' => weaverx_cz_group_title(__('Site Header Area', 'weaver-xtreme'), __('The Header Area contains the Menus, the Header Widget Area, the Site Image, and the Header HTML Area.', 'weaver-xtreme')), 'general-full-header-width' => weaverx_cz_heading(__('Header Area Width', 'weaver-xtreme'), __('You might want to adjust the Header Area width and alignment on the <em>Spacing &rarr; Site Header Spacing</em> panel.', 'weaver-xtreme')), 'general-full-line-1' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'header_extend_width' => array('setting' => array(), 'control' => array('label' => __('Header Full Width BG Attributes', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Extend all BG Attributes to full screen width. The area content retains it own width in the Theme Width width. Use this option for the Container, Header, and Footer "full width" site layouts. <strong style="background-color:yellow;"><large>IMPORTANT TIP:</large></strong> This option interacts with the area width and padding settings - we suggest that you "Save and Publish", and then <em>Refresh</em> this page in your browser to completely reload the Customizer.', 'weaver-xtreme'), 'type' => 'checkbox')), 'general-full-header-or-' => weaverx_cz_heading(__('** OR **', 'weaver-xtreme')), 'header_extend_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'default' => weaverx_cz_getopt('header_extend_bgcolor'), 'transport' => 'refresh'), 'control' => array('control_type' => WEAVERX_PLUS_COLOR_CONTROL, 'label' => __('Header Full-width BG Color', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Extend this BG color to full theme width on Desktop View. Menu Bars, Container and Footer have same option. Unlike the "Full Screen Width BG Attributes" on the Spacing panel, this option extends just this BG color, and allows different BG colors for the area. You can use only one of the "Attributes" vs. "Color" option.', 'weaver-xtreme'))), 'general-full-line-1a' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'm_primary_extend_width' => array('setting' => array(), 'control' => array('label' => __('Primary Menu Full Width', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Extend all Primary Menu Bar BG Attributes to full width. Overrides Full-width BG color.', 'weaver-xtreme'), 'type' => 'checkbox')), 'general-full-header-or-2' => weaverx_cz_heading(__('** OR **', 'weaver-xtreme')), 'm_primary_extend_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'default' => weaverx_cz_getopt('m_primary_extend_bgcolor'), 'transport' => 'refresh'), 'control' => array('control_type' => WEAVERX_PLUS_COLOR_CONTROL, 'label' => __('Primary Menu Full-width BG color', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Extend this BG color to full theme width on Desktop View. Menu Bars, Container and Footer have same option. Unlike the "Full Screen Width BG Attributes" on the Spacing panel, this option extends just this BG color, and allows different BG colors for the area.', 'weaver-xtreme'))), 'general-full-line-3' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'm_secondary_extend_width' => array('setting' => array(), 'control' => array('label' => __('Secondary Menu Full Width', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Extend all BG Attributes to full width. Overrides Full-width BG color.', 'weaver-xtreme'), 'type' => 'checkbox')), 'general-full-header-or-2a' => weaverx_cz_heading(__('** OR **', 'weaver-xtreme')), 'm_secondary_extend_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'default' => weaverx_cz_getopt('m_secondary_extend_bgcolor'), 'transport' => 'refresh'), 'control' => array('control_type' => WEAVERX_PLUS_COLOR_CONTROL, 'label' => __('Secondary Menu Full-width BG color', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Extend this BG color to full theme width on Desktop View. Menu Bars, Container and Footer have same option. Unlike the "Full Screen Width BG Attributes" on the Spacing panel, this option extends just this BG color, and allows different BG colors for the area.', 'weaver-xtreme'))), 'general-full-line-4' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'general-full-container' => weaverx_cz_group_title(__('Site Container Area', 'weaver-xtreme'), __('The Container Area contains the main content area, plus the primary, secondary, top, and bottom widget areas.', 'weaver-xtreme')), 'general-full-containerx-width' => weaverx_cz_heading(__('Container Area Width', 'weaver-xtreme'), __('You might want to adjust the Container Area width and alignment on the <em>Spacing &rarr; Wrapping Areas</em> panel.', 'weaver-xtreme')), 'container_extend_width' => array('setting' => array(), 'control' => array('label' => __('Container Full Width BG Attributes', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Extend all Container BG Attributes to full screen width. The area content retains it own width in the Theme Width width. Use this option for the Container, Header, and Footer "full width" site layouts.  <strong style="background-color:yellow;"><large>IMPORTANT TIP:</large></strong> This option interacts with the area width and padding settings - we suggest that you "Save and Publish", and then <em>Refresh</em> this page in your browser to completely reload the Customizer.', 'weaver-xtreme'), 'type' => 'checkbox')), 'general-full-header-or-3' => weaverx_cz_heading(__('** OR **', 'weaver-xtreme')), 'container_extend_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'default' => weaverx_cz_getopt('container_extend_bgcolor'), 'transport' => 'refresh'), 'control' => array('control_type' => WEAVERX_PLUS_COLOR_CONTROL, 'label' => __('Container Full-width BG color', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Extend this BG color to full theme width on Desktop View. Menu Bars, Header, Container and Footer have same option. Unlike the "Full Screen Width BG Attributes" on the Spacing panel, this option extends just this BG color, and allows different BG colors for the area.', 'weaver-xtreme'))), 'general-full-line-5' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'general-full-footer' => weaverx_cz_group_title(__('Site Footer Area', 'weaver-xtreme'), __('The Footer Area contains the Footer Widget Area, the Footer HTML Area, the copyright line.', 'weaver-xtreme')), 'general-full-footerx-width' => weaverx_cz_heading(__('Footer Area Width', 'weaver-xtreme'), __('You might want to adjust the Footer Area width and alignment on the <em>Spacing &rarr; Footer Area Spacing</em> panel.', 'weaver-xtreme')), 'footer_extend_width' => array('setting' => array(), 'control' => array('label' => __('Footer Full Screen Width', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Extend all Footer BG Attributes to full screen width. The area content retains it own width in the Theme Width width. Use this option for the Container, Header, and Footer "full width" site layouts.  <strong style="background-color:yellow;"><large>IMPORTANT TIP:</large></strong> This option interacts with the area width and padding settings - we suggest that you "Save and Publish", and then <em>Refresh</em> this page in your browser to completely reload the Customizer.', 'weaver-xtreme'), 'type' => 'checkbox')), 'general-full-header-or-4' => weaverx_cz_heading(__('** OR **', 'weaver-xtreme')), 'footer_extend_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'default' => weaverx_cz_getopt('footer_extend_bgcolor'), 'transport' => 'refresh'), 'control' => array('control_type' => WEAVERX_PLUS_COLOR_CONTROL, 'label' => __('Footer Full-width BG color', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('Extend this BG color to full theme width on Desktop View. Menu Bars, Header, Container and Footer have same option. Unlike the "Full Screen Width BG Attributes" on the Spacing panel, this option extends just this BG color, and allows different BG colors for the area.', 'weaver-xtreme')))));
     /**
      * Filter the definitions for the controls in the Color Scheme panel of the Customizer.
      *
      * @since 1.3.0.
      *
      * @param array    $spacing_sections    The array of definitions.
      */
     $spacing_sections = apply_filters('weaverx_customizer_spacing_sections', $spacing_sections);
     // Merge with master array
     return array_merge($sections, $spacing_sections);
 }
function weaverx_cz_coloropt_plus($opt, $label, $description = '', $transport = WEAVERX_COLOR_TRANSPORT)
{
    /*
    'coloropt' => weaverx_cz_coloropt_plus(
    			'opt',
    			label,
    			description,
    			transport
    		),
    */
    $label .= WEAVERX_PLUS_ICON;
    if ($transport == 'refresh') {
        $label .= WEAVERX_REFRESH_ICON;
    }
    $default = weaverx_cz_getopt($opt);
    if (!$default) {
        $default = 'inherit';
    }
    return array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => $transport, 'default' => $default), 'control' => array('control_type' => WEAVERX_PLUS_COLOR_CONTROL, 'label' => $label, 'description' => $description));
}
 /**
  * Define the sections and settings for the Site Colors panel
  * Customize_Alpha_Color_Control
  * WP_Customize_Color_Control
  */
 function weaverx_customizer_define_colorscheme_sections($sections)
 {
     $panel = 'weaverx_site-colors';
     $colorscheme_sections = array();
     /**
      * General
      */
     $colorscheme_sections['color-wrapping'] = array('panel' => $panel, 'title' => __('Wrapping Areas', 'weaver-xtreme'), 'description' => 'Set colors. Use Typography to set fonts.', 'options' => array('body_bgcolor' => weaverx_cz_coloropt('body_bgcolor', __('Site Background Color - Theme Value', 'weaver-xtreme'), __('Background color that wraps entire page.', 'weaver-xtreme')), 'fadebody_bg' => array('setting' => array(), 'control' => array('label' => __('Fade Outside BG', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Will fade the Outside BG color, darker at top to lighter at bottom.', 'weaver-xtreme'), 'type' => 'checkbox')), 'wrapper_color' => weaverx_cz_coloropt('wrapper_color', __('Wrapper Text Color', 'weaver-xtreme'), __('<strong>Global Text Color</strong> - To override, set colors for individual areas and items.', 'weaver-xtreme')), 'wrapper_bgcolor' => weaverx_cz_coloropt('wrapper_bgcolor', __('Wrapper BG Color', 'weaver-xtreme'), __('<strong>Background Color</strong> - wraps entire content area. To override, set BG colors for individual areas.', 'weaver-xtreme')), 'container_color' => weaverx_cz_coloropt('container_color', __('Container Text Color', 'weaver-xtreme'), __('Container (#container div) wraps content and sidebars.', 'weaver-xtreme')), 'container_bgcolor' => weaverx_cz_coloropt('container_bgcolor', __('Container BG Color', 'weaver-xtreme')), 'flow_color' => array('setting' => array('transport' => 'refresh'), 'control' => array('control_type' => WEAVERX_PLUS_CHECKBOX_CONTROL, 'label' => __('Flow Color to Bottom', 'weaver-xtreme') . WEAVERX_PLUS_ICON . WEAVERX_REFRESH_ICON, 'description' => __('If checked, Content and Sidebar bg colors will flow to bottom of the Container (that is, equal heights). You must provide background colors for the Content and Sidebars or the default bg color will be used.', 'weaver-xtreme'), 'type' => 'checkbox')), 'color-border-heading' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'color-border-heading' => weaverx_cz_heading(__('Border Color', 'weaver-xtreme'), __('Border Color option found on <em>Style &rarr; Wrapping Areas</em> panel.', 'weaver-xtreme'))));
     /**
      * Links
      */
     $colorscheme_sections['color-links'] = array('panel' => $panel, 'title' => __('Links', 'weaver-xtreme'), 'description' => 'Set colors for links. Use Typography to set fonts.', 'options' => array('link_color' => weaverx_cz_coloropt('link_color', __('Standard Links', 'weaver-xtreme'), __('Default color for links. To override for links in specific areas, set colors for individual links below.', 'weaver-xtreme'), 'refresh'), 'link_hover_color' => weaverx_cz_coloropt('link_hover_color', __('Standard Link Hover Color', 'weaver-xtreme'), '', 'refresh'), 'color-info-line-1' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'ibarlink_color' => weaverx_cz_coloropt('ibarlink_color', __('Info Bar Link Color', 'weaver-xtreme'), '', 'refresh'), 'ibarlink_hover_color' => weaverx_cz_coloropt('ibarlink_hover_color', __('Info Bar Link Hover Color', 'weaver-xtreme'), '', 'refresh'), 'color-info-line-2' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'contentlink_color' => weaverx_cz_coloropt('contentlink_color', __('Content Links Color', 'weaver-xtreme'), '', 'refresh'), 'contentlink_hover_color' => weaverx_cz_coloropt('contentlink_hover_color', __('Content Links Hover Color', 'weaver-xtreme'), '', 'refresh'), 'color-info-line-3' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'ilink_color' => weaverx_cz_coloropt('ilink_color', __('Post Meta Info Link Color', 'weaver-xtreme'), '', 'refresh'), 'ilink_hover_color' => weaverx_cz_coloropt('ilink_hover_color', __('Post Meta Info Link Hover Color', 'weaver-xtreme'), '', 'refresh'), 'color-info-line-4' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'wlink_color' => weaverx_cz_coloropt('wlink_color', __('Individual Widgets Link Color', 'weaver-xtreme'), '', 'refresh'), 'wlink_hover_color' => weaverx_cz_coloropt('wlink_hover_color', __('Individual Widgets Link Hover Color', 'weaver-xtreme'), '', 'refresh'), 'color-info-line-5' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'footerlink_color' => weaverx_cz_coloropt('footerlink_color', __('Footer Links Color', 'weaver-xtreme'), '', 'refresh'), 'footerlink_hover_color' => weaverx_cz_coloropt('footerlink_hover_color', __('Footer Links Hover Color', 'weaver-xtreme'), '', 'refresh')));
     /**
      * Site Header
      */
     $colorscheme_sections['color-header'] = array('panel' => $panel, 'title' => __('Header Area', 'weaver-xtreme'), 'options' => array('header_color' => weaverx_cz_coloropt('header_color', __('Header Text Color', 'weaver-xtreme'), ''), 'header_bgcolor' => weaverx_cz_coloropt('header_bgcolor', __('Header BG Color', 'weaver-xtreme'), ''), 'hdrarea-cline1' => weaverx_cz_line(), 'site_title_color' => weaverx_cz_coloropt('site_title_color', __('Site Title Text Color', 'weaver-xtreme'), ''), 'site_title_bgcolor' => weaverx_cz_coloropt('site_title_bgcolor', __('Site Title BG Color', 'weaver-xtreme'), __('Site Title BG Color', 'weaver-xtreme')), 'tagline_color' => weaverx_cz_coloropt('tagline_color', __('Site Tagline Text Color', 'weaver-xtreme'), ''), 'tagline_bgcolor' => weaverx_cz_coloropt('tagline_bgcolor', __('Site Tagline BG Color', 'weaver-xtreme'), ''), 'title_tagline_bgcolor' => weaverx_cz_coloropt('title_tagline_bgcolor', __('Title/Tagline Area BG', 'weaver-xtreme'), __('BG Color for the Title, Tagline, Search, and Mini Menu area.', 'weaver-xtreme')), 'hdrarea-cline2' => weaverx_cz_line(), 'header_sb_color' => weaverx_cz_coloropt('header_sb_color', __('Header Widget Area Text Color', 'weaver-xtreme'), ''), 'header_sb_bgcolor' => weaverx_cz_coloropt('header_sb_bgcolor', __('Header Widget Area BG Color', 'weaver-xtreme'), ''), 'hdrarea-cline3' => weaverx_cz_line(), 'header_html_color' => weaverx_cz_coloropt('header_html_color', __('Header HTML Area Text Color', 'weaver-xtreme')), 'header_html_bgcolor' => weaverx_cz_coloropt('header_html_bgcolor', __('Header HTML Area BG Color', 'weaver-xtreme'))));
     /**
      * Main Menu
      */
     $colorscheme_sections['color-menus'] = array('panel' => $panel, 'title' => __('Menus', 'weaver-xtreme'), 'description' => __('Set text, background, and hover colors for menus.', 'weaver-xtreme'), 'options' => array('color-mm-heading' => weaverx_cz_group_title(__('Primary Menu Colors', 'weaver-xtreme')), 'm_primary_color' => weaverx_cz_coloropt('m_primary_color', __('Primary Menu Bar Text Color', 'weaver-xtreme'), __('Text Color for Entire menu bar.', 'weaver-xtreme')), 'm_primary_bgcolor' => weaverx_cz_coloropt('m_primary_bgcolor', __('Primary Menu Bar BG Color', 'weaver-xtreme'), __('Background Color for Entire menu bar.', 'weaver-xtreme')), 'm_primary_link_bgcolor' => weaverx_cz_coloropt('m_primary_link_bgcolor', __('Item BG Color', 'weaver-xtreme'), __('Background Color for menu bar items.', 'weaver-xtreme')), 'm_primary_dividers_color' => weaverx_cz_coloropt_plus('m_primary_dividers_color', __('Dividers between menu items', 'weaver-xtreme'), __('Add colored dividers between menu items. Leave blank for none.', 'weaver-xtreme'), 'refresh'), 'm_primary_hover_color' => weaverx_cz_coloropt('m_primary_hover_color', __('Primary Menu Bar Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'm_primary_hover_bgcolor' => weaverx_cz_coloropt('m_primary_hover_bgcolor', __('Primary Menu Bar Hover BG Color', 'weaver-xtreme'), '', 'refresh'), 'm_primary_clickable_bgcolor' => weaverx_cz_coloropt('m_primary_clickable_bgcolor', __('Open Submenu Arrow BG', 'weaver-xtreme'), __('Clickable mobile open submenu arrow BG. Contrasting BG color required for proper user interface. <em>Not used by SmartMenus</em>. (Default: rgba(255,255,255,0.2)', 'weaver-xtreme'), 'refresh'), 'm_primary_html_color' => weaverx_cz_coloropt_plus('m_primary_html_color', __('HTML: Text Color', 'weaver-xtreme'), __('Text Color for Left/Right Menu Bar HTML.', 'weaver-xtreme')), 'm_primary_sub_color' => weaverx_cz_coloropt('m_primary_sub_color', __('Primary Sub-Menu Text Color', 'weaver-xtreme'), ''), 'm_primary_sub_bgcolor' => weaverx_cz_coloropt('m_primary_sub_bgcolor', __('Primary Sub-Menu BG Color', 'weaver-xtreme'), ''), 'm_primary_sub_hover_color' => weaverx_cz_coloropt('m_primary_sub_hover_color', __('Primary Sub-Menu Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'm_primary_sub_hover_bgcolor' => weaverx_cz_coloropt('m_primary_sub_hover_bgcolor', __('Primary Sub-Menu Hover BG Color', 'weaver-xtreme'), '', 'refresh'), 'color-sm-heading' => weaverx_cz_group_title(__('Secondary Menu Colors', 'weaver-xtreme'), __('You must define a Secondary Menu from the Custom Menus Content menu.', 'weaver-xtreme')), 'm_secondary_color' => weaverx_cz_coloropt('m_secondary_color', __('Secondary Menu Bar Text Color', 'weaver-xtreme'), __('Text Color for Entire menu bar.', 'weaver-xtreme')), 'm_secondary_bgcolor' => weaverx_cz_coloropt('m_secondary_bgcolor', __('Secondary Menu Bar BG Color', 'weaver-xtreme'), __('Background Color for Entire menu bar.', 'weaver-xtreme')), 'm_secondary_link_bgcolor' => weaverx_cz_coloropt('m_secondary_link_bgcolor', __('Item BG Color', 'weaver-xtreme'), __('Background Color for menu bar items.', 'weaver-xtreme')), 'm_secondary_dividers_color' => weaverx_cz_coloropt_plus('m_secondary_dividers_color', __('Dividers between menu items', 'weaver-xtreme'), __('Add colored dividers between menu items. Leave blank for none.', 'weaver-xtreme'), 'refresh'), 'm_secondary_hover_color' => weaverx_cz_coloropt('m_secondary_hover_color', __('Secondary Menu Bar Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'm_secondary_hover_bgcolor' => weaverx_cz_coloropt('m_secondary_hover_bgcolor', __('Secondary Menu Bar Hover BG Color', 'weaver-xtreme'), '', 'refresh'), 'm_secondary_clickable_bgcolor' => weaverx_cz_coloropt('m_secondary_clickable_bgcolor', __('Open Submenu Arrow BG', 'weaver-xtreme'), __('Clickable mobile open submenu arrow BG. Contrasting BG color required for proper user interface. <em>Not used by SmartMenus</em>. (Default: rgba(255,255,255,0.2)', 'weaver-xtreme'), 'refresh'), 'm_secondary_html_color' => weaverx_cz_coloropt_plus('m_secondary_html_color', __('HTML: Text Color', 'weaver-xtreme'), __('Text Color for Left/Right Menu Bar HTML.', 'weaver-xtreme')), 'm_secondary_sub_color' => weaverx_cz_coloropt('m_secondary_sub_color', __('Secondary Sub-Menu Text Color', 'weaver-xtreme'), ''), 'm_secondary_sub_bgcolor' => weaverx_cz_coloropt('m_secondary_sub_bgcolor', __('Secondary Sub-Menu BG Color', 'weaver-xtreme'), ''), 'm_secondary_sub_hover_color' => weaverx_cz_coloropt('m_secondary_sub_hover_color', __('Secondary Sub-Menu Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'm_secondary_sub_hover_bgcolor' => weaverx_cz_coloropt('m_secondary_sub_hover_bgcolor', __('Secondary Sub-Menu Hover BG Color', 'weaver-xtreme'), '', 'refresh'), 'color-minim-heading' => weaverx_cz_group_title(__('Header Mini Menu Colors', 'weaver-xtreme'), __('You must define a Header Menu from the Custom Menus Content menu.', 'weaver-xtreme')), 'm_header_mini_color' => weaverx_cz_coloropt('m_header_mini_color', __('Header Mini Menu Text Color', 'weaver-xtreme')), 'm_header_mini_bgcolor' => weaverx_cz_coloropt('m_header_mini_bgcolor', __('Header Mini Menu BG Color', 'weaver-xtreme')), 'm_header_mini_hover_color' => weaverx_cz_coloropt('m_header_mini_hover_color', __('Header Mini Menu Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'color-allmenus-heading' => weaverx_cz_group_title(__('Colors For All Menus', 'weaver-xtreme'), __('These options specify current page attributes for all menus.', 'weaver-xtreme')), 'menubar_curpage_color' => weaverx_cz_coloropt('menubar_curpage_color', __('Menus Current Page Text Color', 'weaver-xtreme')), 'menubar_curpage_bgcolor' => weaverx_cz_coloropt('menubar_curpage_bgcolor', __('Menus Current Page BG Color', 'weaver-xtreme')), 'm_retain_hover' => array('setting' => array(), 'control' => array('label' => __('Retain Menu Bar Hover BG Color', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Retain the menu bar item hover BG color when sub-menus are opened.', 'weaver-xtreme'), 'type' => 'checkbox'))));
     if (weaverx_cz_is_plus()) {
         $new_opts = array('color-xm-heading' => weaverx_cz_group_title(__('Extra Menu Colors', 'weaver-xtreme') . WEAVERX_PLUS_ICON), 'm_extra_color' => weaverx_cz_coloropt('m_extra_color', __('Extra Menu Bar Text Color', 'weaver-xtreme'), __('Text Color for Entire menu bar.', 'weaver-xtreme')), 'm_extra_bgcolor' => weaverx_cz_coloropt('m_extra_bgcolor', __('Extra Menu Bar BG Color', 'weaver-xtreme'), __('Background Color for Entire menu bar.', 'weaver-xtreme')), 'm_extra_link_bgcolor' => weaverx_cz_coloropt('m_extra_link_bgcolor', __('Item BG Color', 'weaver-xtreme'), __('Background Color for menu bar items.', 'weaver-xtreme')), 'm_extra_dividers_color' => weaverx_cz_coloropt_plus('m_extra_dividers_color', __('Dividers between menu items', 'weaver-xtreme'), __('Add colored dividers between menu items. Leave blank for none.', 'weaver-xtreme'), 'refresh'), 'm_extra_hover_color' => weaverx_cz_coloropt('m_extra_hover_color', __('Extra Menu Bar Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'm_extra_hover_bgcolor' => weaverx_cz_coloropt('m_extra_hover_bgcolor', __('Extra Menu Bar Hover BG Color', 'weaver-xtreme'), '', 'refresh'), 'm_extra_clickable_bgcolor' => weaverx_cz_coloropt('m_extra_clickable_bgcolor', __('Open Submenu Arrow BG', 'weaver-xtreme'), __('Clickable mobile open submenu arrow BG. Contrasting BG color required for proper user interface. <em>Not used by SmartMenus</em>. (Default: rgba(255,255,255,0.2)', 'weaver-xtreme'), 'refresh'), 'm_extra_html_color' => weaverx_cz_coloropt_plus('m_extra_html_color', __('HTML: Text Color', 'weaver-xtreme'), __('Text Color for Left/Right Menu Bar HTML.', 'weaver-xtreme')), 'm_extra_sub_color' => weaverx_cz_coloropt('m_extra_sub_color', __('Extra Sub-Menu Text Color', 'weaver-xtreme'), ''), 'm_extra_sub_bgcolor' => weaverx_cz_coloropt('m_extra_sub_bgcolor', __('Extra Sub-Menu BG Color', 'weaver-xtreme'), ''), 'm_extra_sub_hover_color' => weaverx_cz_coloropt('m_extra_sub_hover_color', __('Extra Sub-Menu Hover Text Color', 'weaver-xtreme'), '', 'refresh'), 'm_extra_sub_hover_bgcolor' => weaverx_cz_coloropt('m_extra_sub_hover_bgcolor', __('Extra Sub-Menu Hover BG Color', 'weaver-xtreme'), '', 'refresh'));
     } else {
         $new_opts = weaverx_cz_add_plus_message('color_menus', __('Extra Menu', 'weaver-xtreme'), __('Add extra menus with <strong>Weaver Xtreme Plus</strong>.', 'weaver-xtreme'));
     }
     // add stub or extra menu options
     $colorscheme_sections['color-menus']['options'] = array_merge($colorscheme_sections['color-menus']['options'], $new_opts);
     /**
      * Info Bar
      */
     $colorscheme_sections['color-info-bar'] = array('panel' => $panel, 'title' => __('Info Bar', 'weaver-xtreme'), 'description' => __('Info Bar has breadcrumbs and paged navigation displayed under Primary Menu.', 'weaver-xtreme'), 'options' => array('infobar_color' => weaverx_cz_coloropt('infobar_color', __('Info Bar Text Color', 'weaver-xtreme')), 'infobar_bgcolor' => weaverx_cz_coloropt('infobar_bgcolor', __('Info Bar BG Color', 'weaver-xtreme'))));
     /**
      * Content
      */
     $colorscheme_sections['color-content'] = array('panel' => $panel, 'title' => __('Content', 'weaver-xtreme'), 'description' => __('Colors for general page and post content. You can override post specific colors on the <em>Post Specific Colors</em> panel.', 'weaver-xtreme'), 'options' => array('content_color' => weaverx_cz_coloropt('content_color', __('Content Area Text Color', 'weaver-xtreme')), 'content_bgcolor' => weaverx_cz_coloropt('content_bgcolor', __('Content Area BG Color', 'weaver-xtreme')), 'page_title_color' => weaverx_cz_coloropt('page_title_color', __('Page Title Text Color', 'weaver-xtreme'), __('Page titles, including pages, post single pages, and archive-like pages.', 'weaver-xtreme')), 'page_title_bgcolor' => weaverx_cz_coloropt('page_title_bgcolor', __('Page Title BG Color', 'weaver-xtreme')), 'archive_title_color' => weaverx_cz_coloropt('archive_title_color', __('Archive Pages Title Text Color', 'weaver-xtreme'), __('Archive-like page titles: archives, categories, tags, searches.', 'weaver-xtreme')), 'archive_title_bgcolor' => weaverx_cz_coloropt('archive_title_bgcolor', __('Archive Pages Title BG Color', 'weaver-xtreme')), 'content_h_color' => weaverx_cz_coloropt('content_h_color', __('Content Headings Text Color', 'weaver-xtreme'), __('Headings (&lt;h1&gt;-&lt;h6&gt;) in page and post content.', 'weaver-xtreme')), 'content_h_bgcolor' => weaverx_cz_coloropt('content_h_bgcolor', __('Content Headings BG', 'weaver-xtreme'), __('Headings (&lt;h1&gt;-&lt;h6&gt;) in page and post content.', 'weaver-xtreme')), 'content-line1' => weaverx_cz_line(), 'input_color' => weaverx_cz_coloropt('input_color', __('Text Input Areas Color', 'weaver-xtreme')), 'input_bgcolor' => weaverx_cz_coloropt('input_bgcolor', __('Text Input Areas BG Color', 'weaver-xtreme')), 'search_color' => weaverx_cz_coloropt('search_color', __('Search Input Text Color', 'weaver-xtreme')), 'search_bgcolor' => weaverx_cz_coloropt('search_bgcolor', __('Search Input BG Color', 'weaver-xtreme')), 'search_icon' => array('setting' => array('sanitize_callback' => 'weaverx_cz_sanitize_html', 'transport' => 'refresh', 'default' => 'black'), 'control' => array('control_type' => 'WeaverX_Misc_Control', 'label' => __('Search Icon', 'weaver-xtreme') . WEAVERX_REFRESH_ICON, 'description' => __('Search Icon used for Search boxes', 'weaver-xtreme'), 'type' => 'radio-icons', 'choices' => weaverx_cz_choices_search())), 'content-line1a' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'hr_color' => weaverx_cz_coloropt('hr_color', __('&lt;HR&gt; color', 'weaver-xtreme'), __('Color of horizontal (&lt;hr&gt;) lines in posts and pages. Use the <em>Custom CSS &rarr; Content</em> panel to customize the style of the &lt;hr&gt;.', 'weaver-xtreme')), 'content-line1b' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'comment_headings_color' => weaverx_cz_coloropt('comment_headings_color', __('Color for headings in comment form', 'weaver-xtreme')), 'comment_content_bgcolor' => weaverx_cz_coloropt('comment_content_bgcolor', __('Comment content area BG Color', 'weaver-xtreme')), 'comment_submit_bgcolor' => weaverx_cz_coloropt('comment_submit_bgcolor', __('"Post Comment" submit button BG Color', 'weaver-xtreme')), 'content-line2' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'type' => 'line')), 'editor_bgcolor' => weaverx_cz_coloropt('editor_bgcolor', __('Page/Post Editor BG', 'weaver-xtreme'), __("Alternative Background Color to use for Page/Post editor if you're using transparent or image backgrounds.", 'weaver-xtreme'), 'refresh')));
     /**
      * Post Specific
      */
     $colorscheme_sections['color-post-specific'] = array('panel' => $panel, 'title' => __('Post Specific', 'weaver-xtreme'), 'description' => __('Post Specific Colors - override Content colors.', 'weaver-xtreme'), 'options' => array('color-post-heading' => weaverx_cz_heading(__('Post Specific', 'weaver-xtreme')), 'post_color' => weaverx_cz_coloropt('post_color', __('Post Area Text Color', 'weaver-xtreme')), 'post_bgcolor' => weaverx_cz_coloropt('post_bgcolor', __('Post Area BG Color', 'weaver-xtreme')), 'stickypost_bgcolor' => weaverx_cz_coloropt('stickypost_bgcolor', __('Sticky Post Area BG Color', 'weaver-xtreme')), 'post_title_color' => weaverx_cz_coloropt('post_title_color', __('Post Title Text Color', 'weaver-xtreme')), 'post_title_bgcolor' => weaverx_cz_coloropt('post_title_bgcolor', __('Post Title BG Color', 'weaver-xtreme')), 'post_title_hover_color' => weaverx_cz_coloropt('post_title_hover_color', __('Post Title Hover Color', 'weaver-xtreme'), __('Color if you want the Post Title to show alternate color for hover.', 'weaver-xtreme'), 'refresh'), 'post_info_top_color' => weaverx_cz_coloropt('post_info_top_color', __('Top Post Meta Info Text Color', 'weaver-xtreme')), 'post_info_top_bgcolor' => weaverx_cz_coloropt('post_info_top_bgcolor', __('Top Post Meta Info BG Color', 'weaver-xtreme')), 'post_info_bottom_color' => weaverx_cz_coloropt('post_info_bottom_color', __('Bottom Post Meta Info Text Color', 'weaver-xtreme')), 'post_info_bottom_bgcolor' => weaverx_cz_coloropt('post_info_bottom_bgcolor', __('Bottom Post Meta Info BG Color', 'weaver-xtreme')), 'post_icons_color' => weaverx_cz_coloropt('post_icons_color', __('Post Font Icons Color', 'weaver-xtreme'), __('Set Font Icon color if Font Icons on Info Lines specified on the <em>Style &rarr; Post Specific</em> panel.', 'weaver-xtreme')), 'post_author_bgcolor' => weaverx_cz_coloropt('post_author_bgcolor', __('Author Info BG Color', 'weaver-xtreme'), __('Background color used for Author Bio.', 'weaver-xtreme'))));
     /**
      * Sidebars
      */
     $colorscheme_sections['color-sidebars'] = array('panel' => $panel, 'title' => __('Sidebars &amp; Widget Area', 'weaver-xtreme'), 'description' => __('Main Sidebars and Widget areas. Header and Footer areas options under Header and Footer panels.', 'weaver-xtreme'), 'options' => array('color-primary-widget-heading' => weaverx_cz_group_title(__('Primary Widget Area', 'weaver-xtreme')), 'primary_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('primary_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Primary Widget Area Text Color', 'weaver-xtreme'), 'description' => '')), 'primary_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('primary_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Primary Widget Area BG Color', 'weaver-xtreme'), 'description' => '')), 'color-secondary-widget-heading' => weaverx_cz_group_title(__('Secondary Widget Area', 'weaver-xtreme')), 'secondary_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('secondary_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Secondary Widget Area Text Color', 'weaver-xtreme'), 'description' => '')), 'secondary_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('secondary_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Secondary Widget Area BG Color', 'weaver-xtreme'), 'description' => '')), 'color-top-widget-heading' => weaverx_cz_group_title(__('Top Widget Areas', 'weaver-xtreme'), __('Properties for all Top Widget areas (Sitewide, Pages, Blog, Archive).', 'weaver-xtreme')), 'top_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('top_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Top Widget Areas Text Color', 'weaver-xtreme'), 'description' => '')), 'top_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('top_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Top Widget Areas BG Color', 'weaver-xtreme'), 'description' => '')), 'color-bottom-widget-heading' => weaverx_cz_group_title(__('Bottom Widget Areas', 'weaver-xtreme'), __('Properties for all Bottom Widget areas (Sitewide, Pages, Blog, Archive).', 'weaver-xtreme')), 'bottom_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('bottom_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Bottom Widget Areas Text Color', 'weaver-xtreme'), 'description' => '')), 'bottom_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('bottom_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Bottom Widget Areas BG Color', 'weaver-xtreme'), 'description' => ''))));
     /**
      * Widgets
      */
     $colorscheme_sections['color-widgets'] = array('panel' => $panel, 'title' => __('Individual Widgets', 'weaver-xtreme'), 'description' => 'Properties for individual widgets (e.g., Text, Recent Posts, etc.)', 'options' => array('widget_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('widget_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Individual Widgets Text Color', 'weaver-xtreme'), 'description' => '')), 'widget_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('widget_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Individual Widgets BG Color', 'weaver-xtreme'), 'description' => '')), 'widget_title_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('widget_title_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Individual Widgets Title Text Color', 'weaver-xtreme'), 'description' => '')), 'widget_title_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('widget_title_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Individual Widgets Title BG Color', 'weaver-xtreme'), 'description' => ''))));
     /**
      * Footer
      */
     $colorscheme_sections['color-footer'] = array('panel' => $panel, 'title' => __('Footer Area', 'weaver-xtreme'), 'options' => array('footer_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('footer_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Footer Area Text Color', 'weaver-xtreme'), 'description' => '')), 'footer_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('footer_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Footer Area BG Color', 'weaver-xtreme'), 'description' => '')), 'footer_sb_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('footer_sb_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Footer Widget Area Text Color', 'weaver-xtreme'), 'description' => '')), 'footer_sb_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('footer_sb_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Footer Widget Area BG Color', 'weaver-xtreme'), 'description' => '')), 'footer_html_color' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('footer_html_color')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Footer HTML Area Text Color', 'weaver-xtreme'), 'description' => '')), 'footer_html_bgcolor' => array('setting' => array('sanitize_callback' => WEAVERX_CZ_SANITIZE_COLOR, 'transport' => WEAVERX_COLOR_TRANSPORT, 'default' => weaverx_cz_getopt('footer_html_bgcolor')), 'control' => array('control_type' => WEAVERX_COLOR_CONTROL, 'label' => __('Footer HTML Area BG Color', 'weaver-xtreme'), 'description' => ''))));
     /**
      * Filter the definitions for the controls in the Color Scheme panel of the Customizer.
      *
      * @since 1.3.0.
      *
      * @param array    $colorscheme_sections    The array of definitions.
      */
     $colorscheme_sections = apply_filters('weaverx_customizer_colorscheme_sections', $colorscheme_sections);
     // Merge with master array
     return array_merge($sections, $colorscheme_sections);
 }