Different header image's height for other pages

Dear Kharis

Hi, Is there any way to set different header height or header image’s height for different pages?

I do the following code in wp-content -> themes -> sydney-child -> style.css:

.page-id-1764 .header-inner {
height: 100px !important;
}

.page-id-1764 #masthead.site-header {
height: 120px;
}

but none of them could not set the header height to 100 or 120 px.
the default header image’s height is 300px. it is set to 300 via
Customizing ▸ Header area ▸ Header Media ▸ Header height [default: 300px]

have a nice day
kourosh

Hello there,

Please try this code:

    .page-id-1764 .header-image {
      height: 100px !important;
    } 

Regards,
Kharis

Dear Kharis

Thank you so much for your help. You always help me professional.

have a nice day
Kourosh

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis