Removing Header Image from all pages except Homepage

Hi, would you please help me to remove the header image from every page/post/product, with the exception of the homepage. I tried several CSS codes, non of them worked.
Thank you

Hi,

Thank you for reaching out to us. I am happy to help with your queries.

Try adding this CSS code to your website’s Additional CSS.

    body:not(.home) .header-image {
      display: none;
    }

Regards,
Kharis
aThemes Support