esc_html__( 'Banner Settings', 'book-blogger' ), 'description' => esc_html__( 'Customize Banner section', 'book-blogger' ), 'panel' => 'book_blogger_global_panel', 'capability' => 'edit_theme_options', ) ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'switch', 'settings' => 'banner_section_on_off', 'label' => esc_html__( 'Show/Hide Banner Section', 'book-blogger' ), 'section' => 'banner_section', 'default' => 0, 'choices' => [ 'on' => esc_html__( 'Show', 'book-blogger' ), 'off' => esc_html__( 'Hide', 'book-blogger' ), ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'textarea', 'settings' => 'banner_title', 'label' => esc_html__( 'Banner Title', 'book-blogger' ), 'section' => 'banner_section', 'default' => esc_html__( 'BOOK BLOGGER', 'book-blogger' ), 'transport' => 'postMessage', 'js_vars' => [ [ 'element' => '.hero-content .banner-title', 'function' => 'html', ] ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'textarea', 'settings' => 'banner_description', 'label' => esc_html__( 'Banner Description', 'book-blogger' ), 'section' => 'banner_section', 'default' => esc_html__( 'A THEME FOR BOOK BLOGGERS & AUTHORS', 'book-blogger' ), 'transport' => 'postMessage', 'js_vars' => [ [ 'element' => '.hero-content .banner-description', 'function' => 'html', ] ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'multicolor', 'settings' => 'banner_bg_overlay_settings', 'label' => esc_html__( 'Banner Background Overlay', 'book-blogger' ), 'section' => 'banner_section', 'choices' => [ 'background-color' => esc_html__( 'Background Color', 'book-blogger' ), ], 'transport' => 'postMessage', 'default' => [ 'background-color' => '#000000', ], 'output' => [ [ 'element' => 'section.banner-section:before', ], ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'background', 'settings' => 'banner_bg_settings', 'label' => esc_html__( 'Banner Background', 'book-blogger' ), 'description' => esc_html__( 'Define The Background Of Banner Section', 'book-blogger' ), 'section' => 'banner_section', 'default' => [ 'background-color' => '#b1c0c8', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'cover', 'background-attachment' => 'scroll', ], 'transport' => 'auto', 'output' => [ [ 'element' => 'section.banner-section', ], ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'typography', 'settings' => 'banner_title_typography', 'label' => esc_html__( 'Banner Title Typography', 'book-blogger' ), 'section' => 'banner_section', 'default' => [ 'font-family' => 'Oswald', 'variant' => 'bold', 'font-size' => '110px', 'line-height' => '100px', 'letter-spacing' => '0px', 'color' => '#ffffff', 'text-transform' => 'none', 'text-align' => 'center', ], 'transport' => 'auto', 'output' => [ [ 'element' => '.banner-title', ], ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'typography', 'settings' => 'banner_paragraph_typography', 'label' => esc_html__( 'Banner Paragraph Typography', 'book-blogger' ), 'section' => 'banner_section', 'default' => [ 'font-family' => 'Roboto', 'variant' => '400', 'font-size' => '35px', 'line-height' => 'normal', 'letter-spacing' => '0px', 'color' => '#ffffff', 'text-transform' => 'none', 'text-align' => 'center', ], 'transport' => 'auto', 'output' => [ [ 'element' => '.banner-description', ], ], ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'multicolor', 'settings' => 'banner_button_colors', 'label' => esc_html__( 'Button Color', 'book-blogger' ), 'section' => 'banner_section', 'choices' => [ 'btn_bg' => esc_html__( 'Background Color', 'book-blogger' ), 'btn_text' => esc_html__( 'Text Color', 'book-blogger' ), 'btn_hover_bg' => esc_html__( 'Background Hover Color', 'book-blogger' ), 'btn_hover_text' => esc_html__( 'Text Hover Color', 'book-blogger' ), ], 'transport' => 'auto', 'default' => [ 'btn_bg' => '#FFFFFF', 'btn_text' => '#555555', 'btn_hover_bg' => '#555555', 'btn_hover_text' => '#ffffff', ], ] );