How would I use a filter to remove header banner on certain post types

Copy header.php to your child theme so you’re not editing the parent theme’s file. And on line 49, you will see this line of code:

if ( ! empty( $header_image ) ) : ?>

This says if header image is not empty show the header image. So you can add to that condition to check for any post type you want. Like this example:

if ( ! empty( $header_image ) && get_post_type() !== 'my-posttype' ) : ?>