esc_html__( 'Header Layout', 'vamtam-consulting' ),
'type' => 'image-select',
'id' => 'header-layout',
'transport' => 'postMessage',
'choices' => array(
'logo-menu' => array(
'alt' => esc_html__( 'One row, left logo, menu on the right', 'vamtam-consulting' ),
'img' => VAMTAM_ADMIN_ASSETS_URI . 'images/header-layout-1.png',
),
'logo-text-menu' => array(
'alt' => esc_html__( 'Two rows; left-aligned logo on top, right-aligned text and search', 'vamtam-consulting' ),
'img' => VAMTAM_ADMIN_ASSETS_URI . 'images/header-layout-2.png',
),
'standard' => array(
'alt' => esc_html__( 'Two rows; centered logo on top', 'vamtam-consulting' ),
'img' => VAMTAM_ADMIN_ASSETS_URI . 'images/header-layout-3.png',
),
'overlay-menu' => array(
'alt' => esc_html__( 'One row with overlay menu', 'vamtam-consulting' ),
'img' => VAMTAM_ADMIN_ASSETS_URI . 'images/header-layout-overlay.png',
),
),
),
array(
'label' => esc_html__( 'Header Height', 'vamtam-consulting' ),
'description' => esc_html__( 'This is the area above the slider. Includes the height of the menu for two line header layouts.', 'vamtam-consulting' ),
'id' => 'header-height',
'type' => 'number',
'compiler' => true,
'transport' => 'postMessage',
'input_attrs' => array(
'min' => 30,
'max' => 300,
),
),
array(
'label' => esc_html__( 'Sticky Header', 'vamtam-consulting' ),
'description' => esc_html__( 'This option is switched off automatically for mobile devices because the animation is not well supported by the majority of the mobile devices.', 'vamtam-consulting' ),
'id' => 'sticky-header',
'type' => 'switch',
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Enable Header Search', 'vamtam-consulting' ),
'id' => 'enable-header-search',
'type' => 'switch',
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Show Empty WooCommerce Cart in Header', 'vamtam-consulting' ),
'id' => 'show-empty-header-cart',
'type' => 'switch',
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Full Width Header', 'vamtam-consulting' ),
'description' => esc_html__( 'One row header only', 'vamtam-consulting' ),
'id' => 'full-width-header',
'type' => 'switch',
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Header Text Area', 'vamtam-consulting' ),
'description' => esc_html__( 'You can place text/HTML or any shortcode in this field. The text will appear in the header on the left hand side.', 'vamtam-consulting' ),
'id' => 'header-text-main',
'type' => 'textarea',
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Header Background', 'vamtam-consulting' ),
'description' => wp_kses_post( __( 'If you want to use an image as a background, enabling the cover button will resize and crop the image so that it will always fit the browser window on any resolution.', 'vamtam-consulting' ) ),
'id' => 'header-background',
'type' => 'background',
'compiler' => true,
'transport' => 'postMessage',
'show' => array(
'background-position' => false,
),
),
array(
'label' => esc_html__( 'Sub-Header Background', 'vamtam-consulting' ),
'id' => 'sub-header-background',
'type' => 'background',
'compiler' => true,
'transport' => 'postMessage',
'show' => array(
'background-attachment' => false,
'background-position' => false,
),
),
array(
'label' => esc_html__( 'Page Title Layout', 'vamtam-consulting' ),
'id' => 'page-title-layout',
'description' => esc_html__( 'The first row is the Title, the second row is the Description. The description can be added in the local option panel just below the editor.', 'vamtam-consulting' ),
'type' => 'select',
'transport' => 'postMessage',
'choices' => array(
'centered' => esc_html__( 'Two rows, Centered', 'vamtam-consulting' ),
'one-row-left' => esc_html__( 'One row, title on the left', 'vamtam-consulting' ),
'one-row-right' => esc_html__( 'One row, title on the right', 'vamtam-consulting' ),
'left-align' => esc_html__( 'Two rows, left-aligned', 'vamtam-consulting' ),
'right-align' => esc_html__( 'Two rows, right-aligned', 'vamtam-consulting' ),
),
),
array(
'label' => esc_html__( 'Page Title Background', 'vamtam-consulting' ),
'id' => 'page-title-background',
'type' => 'background',
'compiler' => true,
'transport' => 'postMessage',
'show' => array(
'background-attachment' => false,
'background-position' => false,
),
),
array(
'label' => esc_html__( 'Hide Page Title Background Image on Lower Resolutions', 'vamtam-consulting' ),
'id' => 'page-title-background-hide-lowres',
'type' => 'switch',
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Site Title', 'vamtam-consulting' ),
'id' => 'logo',
'type' => 'typography',
'compiler' => true,
'transport' => 'postMessage',
),
array(
'label' => esc_html__( 'Text Color for Transparent Header', 'vamtam-consulting' ),
'type' => 'color',
'id' => 'main-menu-text-sticky-color',
'compiler' => true,
'transport' => 'postMessage',
),
array(
'id' => 'info-menu-styles',
'type' => 'info',
'label' => esc_html__( 'Menu Styles', 'vamtam-consulting' ),
'description' => wp_kses_post( sprintf( __( 'Menu styling options are available here if you have the Max Mega Menu plugin installed.', 'vamtam-consulting' ), admin_url( 'admin.php?page=maxmegamenu_theme_editor' ) ) ),
),
array(
'id' => 'info-mobile-header-layout',
'type' => 'info',
'description' => wp_kses_post( sprintf( __( 'Mobile header layout options are available here if you have Max Mega Menu installed.', 'vamtam-consulting' ), admin_url( 'admin.php?page=maxmegamenu' ) ) ),
),
);