Background image in header not responsive

I am trying to put a background image in my header to be responsive. However, on some screen sizes, it is no longer filling the entire screen in the header. I have the image set to cover, and I’ve tried searching the forum for ideas, but I can’t seem to find any resolution.

This is the page the header is on: http://www.benjaminalyssa.com/april-2018-update/

Thanks!

Hello @bendhall,

Thanks for asking. :slight_smile:

Please add following CSS under Pro > Theme Options > CSS:

.x-image img {
    width: 100%;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Thank you for your help and the resources!