I’m starting with Hugo since 2 weeks, trying some change and import and I stuck on the header frame.
I use Ananke theme and the header size is depending of:
Image Background: featured_image: ‘/images/gohugo-default-sample-hero-image.jpg’
Size of header: description: " […]"
More word in description, more the header will be tall
http://126.96.36.199/ - A tittle and a description and we see part of the image
In cat3 - There are no description, juste a “title” and we do not see the full image (less than page with description, that is how I know that description upscale the size of the header )
In contact/ - A bit of description, we see a lot of the image
The thing that I want is that the header is ALWAYS 100% of the image size.
No matter the size of the image, no matter if there is description or tittle, I want that the header block size of 100% of the image’s height. I see 2 solution for that. Put a max height of the header and I resize image to enter fully in the header or define the header heigh as 100% of the image. That last solution seems better for future update.
That way, I can change the image when I want and the site will always use it at full size. For now I do not like the fact that the header change size and show more or less of the image.
I do not find any way to do that as parameter in my post.md and I’ve search in theme/ananke files but didn’t find some parameters that I can change.
Is someone can help me to do that ?