edit custom header height
-
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 customizerYour 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' );
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘edit custom header height’ is closed to new replies.