• I want to increase the height of the custom header, significantly (similar to the image in WP2017 theme). I changed the width and height set in the wp_bootstrap_starter_custom_header_setup in my Child Theme’s function.php, and used the “no cropping” selection. I see it is recognized in customizer Your theme recommends dimensions of 2000 × 1200 pixels. But it is still loading with default height. I can’t find any other selectors to change. Can you help?

    function child_wp_bootstrap_starter_custom_header_setup() {
    	add_theme_support( 'custom-header', apply_filters( 'child_wp_bootstrap_starter_custom_header_args', array(
    		'default-image'          => '',
    		'default-text-color'     => 'fff',
    				'width'            => 2000,
    				'height'           => 1200,
    				'flex-height'      => true,
    				'video'            => true,
    		'wp-head-callback'       => 'wp_bootstrap_starter_header_style',
    	) ) );
    }
    add_action( 'after_setup_theme', 'child_wp_bootstrap_starter_custom_header_setup' );
    • This topic was modified 6 years, 5 months ago by mawelch.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author Afterimage Designs

    (@afterimagedesigns)

    Hi @mawelch,

    Thanks for using our theme. I’ve checked the issue on my end and I would suggest to adjust the banner using custom CSS rather creating the function. Kindly adjust this element http://prntscr.com/ql5vi2 to increase the banner height.

    Please let me know if this fix your issue.

Viewing 1 replies (of 1 total)

The topic ‘edit custom header height’ is closed to new replies.