Auto resizing a fixed background image?
I have a fairly large image I'd like to use as a static background. I finally found some CSS code that will keep it static but its only showing the top half of the image. Is this a matter of resizing the image or can I get the theme to auto-resize it? I'm worried that just resizing the image will only make it look good on my monitor. This is the custom CSS I have so far:
body {
background-size: 100%;
background-position: top center;
background-attachment: fixed;
}
The background-size: 100% doesn't seem to do anything. Nothing changed when i stuck it in there. What am I missing here?
body {
background-size: 100%;
background-position: top center;
background-attachment: fixed;
}
The background-size: 100% doesn't seem to do anything. Nothing changed when i stuck it in there. What am I missing here?
Comments
css is not compatible with responsive so every image that you used via css, won't be responsive. It's technically not possible so any trick won't work in this case.
Thanks!