I am facing an issue with the header section of my website. The background-image
is styled using the following CSS:
.header {
position: relative;
min-height: 436px;
background: url("../img/holland-canal.jpg") no-repeat;
background-size: cover;
}
Currently, when resizing the window to lower resolutions, the image gets aligned to the left causing the right part of the picture (which includes a bridge) to get cut off. I want the bridge on the right side of the image to be visible at all times.
Is there a way to adjust the positioning of the background-image
so that it always aligns to the right? This would mean cutting off the left part of the image when resizing to a smaller window.