( Blog URL: http://chainlinkandconcrete.blogspot.com/ )
Alright, so I have figured out how to edit my template to have a 300kb background image. This is real easy and is the basic way to do it. All was well until I accessed my blog from a desktop with a much higher resolution monitor than my own, where I discovered that it wasn't resizing to fit with that browser window. What I want is it to fill the browser window and just kind of stay there statically. Lots of blogs do something like this. No problem, I figure: Googled up the issue, found a bit of CSS to help with it.
Here's the code I started with:
body{
background: url(<image URL goes here>) no-repeat center center fixed;
background-size: cover;
margin:0;
}
Tossed it into the body { } section, as a few tutorials mention, as well as the CSS tool the platform has.
Seems like it should do it, right? Well, it appears to, except the background is only there for a brief moment. The background I want loads, then the blog content loads, and the default blog background just sort of obscures the image I want.
If I'm utilizing this code, how do I make the blog itself have no background so that the image URL I toss in stays visible while the blog posts lay over top? The "transparent" background color option within the template settings doesn't seem to do anything; same thing happens - there and gone again.
I have also found this bit of code:
background-color:rgba(255,255,255,0);
Much like the background color tool, it doesn't appear to actually help. Background is there briefly, and then it is gone.
I've tried a few other things, such as the content of this thread: Stretch and scale CSS background
The advice is all largely the same, though - just variations on the same background CSS option.
No idea what I'm doing, I guess, but this doesn't seem like something that should be...involved. It's just a picture!
Thanks,
M.