sections['kernel_featuredtitle_general'] = array( 'title' => esc_html__( 'General', 'kernel' ), 'panel' => 'kernel_featuredtitle', 'settings' => array( array( 'id' => 'featured_title', 'default' => true, 'control' => array( 'label' => esc_html__( 'Enable', 'kernel' ), 'type' => 'checkbox', ), ), array( 'id' => 'featured_title_style', 'default' => 'simple', 'control' => array( 'label' => esc_html__( 'Style', 'kernel' ), 'type' => 'select', 'choices' => array( 'simple' => esc_html__( 'Simple', 'kernel' ), 'centered' => esc_html__( 'Centered', 'kernel' ), ), 'active_callback' => 'kernel_cac_has_featured_title', ), ), array( 'id' => 'featured_title_padding', 'transport' => 'postMessage', 'control' => array( 'type' => 'text', 'label' => esc_html__( 'Padding', 'kernel' ), 'description' => esc_html__( 'Example: 250px 0px 150px 0px', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title', ), 'inline_css' => array( 'media_query' => '(min-width: 992px)', 'target' => '#featured-title .inner-wrap', 'alter' => 'padding', ), ), array( 'id' => 'featured_title_margin', 'control' => array( 'type' => 'text', 'label' => esc_html__('Blog Content Margin', 'kernel'), 'description' => esc_html__('Example: 44px', 'kernel'), ), 'inline_css' => array( 'target' => '#featured-title', 'alter' => 'margin-bottom', ), ), array( 'id' => 'featured_title_color', 'default' => '#1e2228', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Blog Title Color', 'kernel' ), ), 'inline_css' => array( 'target' => '.main-title', 'alter' => 'color', ), ), array( 'id' => 'featured_title_font_weight', 'default' => '700', 'control' => array( 'type' => 'text', 'label' => esc_html__('Blog Title Font', 'kernel'), 'description' => esc_html__('Example: 600', 'kernel'), ), 'inline_css' => array( 'target' => '#featured-title .main-title', 'alter' => 'font-weight', ), ), array( 'id' => 'featured_breadcrumbs_color', 'default' => '#7e8288', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Blog Breadcrumbs Active Color', 'kernel' ), ), 'inline_css' => array( 'target' => '#featured-title #breadcrumbs .breadcrumbs-inner', 'alter' => 'color', ), ), array( 'id' => 'featured_title_breadcrumbs_font_weight', 'control' => array( 'type' => 'text', 'label' => esc_html__('Blog Breadcrubs Font Weight', 'kernel'), 'description' => esc_html__('Example: 600', 'kernel'), ), 'inline_css' => array( 'target' => '#featured-title #breadcrumbs .breadcrumbs-inner', 'alter' => 'font-weight', ), ), array( 'id' => 'featured_breadcrumbs_home_color', 'default' => '##7e8288', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Blog Breadcrumbs Home Color', 'kernel' ), ), 'inline_css' => array( 'target' => '#featured-title #breadcrumbs a', 'alter' => 'color', ), ), array( 'id' => 'featured_title_background', 'transport' => 'postMessage', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Background', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title', ), 'inline_css' => array( 'target' => '#featured-title', 'alter' => 'background-color', ), ), array( 'id' => 'featured_title_background_img', 'control' => array( 'type' => 'image', 'label' => esc_html__( 'Background Image', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title', ), ), array( 'id' => 'featured_title_background_img_style', 'default' => 'repeat', 'control' => array( 'label' => esc_html__( 'Background Image Style', 'kernel' ), 'type' => 'image', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Default', 'kernel' ), 'cover' => esc_html__( 'Cover', 'kernel' ), 'center-center' => esc_html__( 'Centor', 'kernel' ), 'center-top' => esc_html__( 'Center Top', 'kernel' ), 'fixed-top' => esc_html__( 'Fixed Top', 'kernel' ), 'fixed' => esc_html__( 'Fixed Center', 'kernel' ), 'fixed-bottom' => esc_html__( 'Fixed Bottom', 'kernel' ), 'repeat' => esc_html__( 'Repeat', 'kernel' ), 'repeat-x' => esc_html__( 'Repeat-x', 'kernel' ), 'repeat-y' => esc_html__( 'Repeat-y', 'kernel' ), ), 'active_callback' => 'kernel_cac_has_featured_title', ), ), array( 'id' => 'featured_title_check_color', 'default' => false, 'control' => array( 'label' => esc_html__( 'Image Overlay', 'kernel' ), 'type' => 'checkbox', 'active_callback' => 'kernel_cac_has_featured_title', ), ), array( 'id' => 'featured_title_overlay_color', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Overylay Change Color', 'kernel' ), ), 'inline_css' => array( 'target' => '.featured-title-overlay', 'alter' => 'background-color', ), ), array( 'id' => 'featured_title_add_opecity', 'control' => array( 'type' => 'text', 'label' => esc_html__('Image Opecity Range', 'kernel'), 'description' => esc_html__('Example: 0.2', 'kernel'), ), 'inline_css' => array( 'target' => '.featured-title-overlay', 'alter' => 'opacity', ), ), ), ); // Featured Title Headings $this->sections['kernel_featuredtitle_heading'] = array( 'title' => esc_html__( 'Headings', 'kernel' ), 'panel' => 'kernel_featuredtitle', 'settings' => array( array( 'id' => 'featured_title_heading', 'default' => true, 'control' => array( 'label' => esc_html__( 'Enable', 'kernel' ), 'type' => 'checkbox', 'active_callback' => 'kernel_cac_has_featured_title', ), ), array( 'id' => 'featured_title_heading_bottom_margin', 'transport' => 'postMessage', 'control' => array( 'type' => 'text', 'label' => esc_html__( 'Heading Bottom Margin', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title_center', 'description' => esc_html__( 'Example: 30px.', 'kernel' ), ), 'inline_css' => array( 'target' => '#featured-title.centered .title-group', 'alter' => 'margin-bottom', ), ), array( 'id' => 'featured_title_heading_color', 'transport' => 'postMessage', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Title Color', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title_heading', ), 'inline_css' => array( 'target' => '#featured-title .main-title', 'alter' => 'color', ), ), ), ); // Featured Title Breadcrumbs $this->sections['kernel_featuredtitle_breadcrumbs'] = array( 'title' => esc_html__( 'Breadcrumbs', 'kernel' ), 'panel' => 'kernel_featuredtitle', 'settings' => array( array( 'id' => 'featured_title_breadcrumbs', 'default' => true, 'control' => array( 'label' => esc_html__( 'Enable', 'kernel' ), 'type' => 'checkbox', 'active_callback' => 'kernel_cac_has_featured_title', ), ), array( 'id' => 'featured_title_breadcrumbs_color', 'transport' => 'postMessage', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Text Color', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title_breadcrumbs', ), 'inline_css' => array( 'target' => array( '#featured-title #breadcrumbs', ), 'alter' => 'color', ), ), array( 'id' => 'featured_title_breadcrumbs_link_color', 'transport' => 'postMessage', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Link Color', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title_breadcrumbs', ), 'inline_css' => array( 'target' => '#featured-title #breadcrumbs a', 'alter' => 'color', ), ), array( 'id' => 'featured_title_breadcrumbs_link_hover_color', 'transport' => 'postMessage', 'control' => array( 'type' => 'color', 'label' => esc_html__( 'Link Color: Hover', 'kernel' ), 'active_callback' => 'kernel_cac_has_featured_title_breadcrumbs', ), 'inline_css' => array( 'target' => '#featured-title #breadcrumbs a:hover', 'alter' => 'color', ), ), array( 'id' => 'portfolio_page', 'control' => array( 'label' => esc_html__( 'Projects', 'kernel' ), 'type' => 'select', 'choices' => kernel_get_pages(), 'active_callback' => 'kernel_cac_has_single_project', ), ), array( 'id' => 'service_page', 'control' => array( 'label' => esc_html__( 'Services', 'kernel' ), 'type' => 'select', 'choices' => kernel_get_pages(), 'active_callback' => 'kernel_cac_has_single_service', ), ), ), );