- This topic has 4 replies, 2 voices, and was last updated 4 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Header Image Resizing’ is closed to new replies.
Hello, I just installed this theme recently and so far I really enjoy it. The only issue I’ve found so far is that the header image is different on Desktop vs Mobile. It seems like the image is not being resized on Mobile. My site URL is https://elkhartpogo.com/
Any assistance would be great!
Hi,
I’ve looked at your site and the header image is resizing correctly on different screen sizes.
If you want the full width of the header background image to always be visible you can add this CSS to Appearance > Customize > Additional CSS:
.entry-header.with-image,
.archive-header.with-image {
background-size: contain;
}
Please note that the background has to completely fill the header area so using this additional CSS will make the image stretch vertically on narrow width screens such as mobile.
Interesting. What you’re suggesting (showing the full image) is what I was looking for, but it did repeat vertically on mobile due to the size of the text and menu. Is this intended behavior instead of stretching the single image?
EDIT: Added image for reference
Sorry my mistake, I should have said it would repeat.
Because it is a background image that is intended to fill the header area, it is not really suitable for background images where you need the whole of the image to be visible at all times.