Optimal approach for replacing the 8 header images in a child theme?

I am never sure about ‘optimal approach’ – however, I am using this in the functions.php in a child theme of Twenty Eleven //deregister the header images of Twenty Eleven, and register a few new RAW header images// add_action( ‘after_setup_theme’, ‘raw_theme_header_images’, 11 ); function raw_theme_header_images() { unregister_default_headers( array( ‘wheel’, ‘shore’, ‘trolley’, ‘pine-cone’, ‘chessboard’, ‘lanterns’, ‘willow’, … Read more

How do I change the header image height in Twenty Seventeen?

I found (part) of the css code that controls the height in wp-content/themes/twentyseventeen/style.css. There is code that applies when the admin bar is not visible (typical anonymous user) currently at line 3629 .twentyseventeen-front-page.has-header-image .custom-header-media, .twentyseventeen-front-page.has-header-video .custom-header-media, .home.blog.has-header-image .custom-header-media, .home.blog.has-header-video .custom-header-media { height: 1200px; height: 100vh; max-height: 100%; overflow: hidden; } And code that applies when … Read more