Hi everyone! I am currently trying to make my image banner exactly cover the whole screen. Right now my banner fits almost perfectly on my laptop but when I use my pc (which has a bigger display) the banner changes size. I basically want to keep the proportion of my image banner the same covering the full screen exactly regardless of the display size. Any ideas on how to make the image banner fixed size?
Thank you so much for the reply! This worked, now the picture is covering the full screen. The only issue is that the banner is slightly bigger than the display when including the header. I want the banner and the header to cover the full display at the same time so on the first down-scroll on the homepage the image banner ends. Right now the image banner is covering the full screen only when scrolling past the header. Any ideas?
.gradient {
background: var(–gradient-background) url(Paste URL of pic) fixed top left/cover !important;
background-color: transparent !important;
}
This code will need to be put in the “Assets” folder. I just put it in the last line of the code so I can look for it more easier. Also remember to paste the location of you image, so will need to delete “url(Paste URL of pic)” and paste the URL of your picture. This will put the whole image in the background as you can see in the next picture, I hope this will help everybody.
Hello Richard, this works perfect on PC but then on a mobile version leaves a big white blank chunk empty, is there anything that can make this work for both ? thank you!