Lydecker
Member
Posted 6 years ago #
Hi,
I 've just discovered WordPress a few weeks ago...
I intend to make a gradient background for my blog: I know how to do this using an image, but I've seen on Lorelle's blog (http://lorelle.wordpress.com/) that her background is not fixed; I mean that when you use the scrollbar, the gradient effect is still on your screen, wherever you are on the page...
Does anyone know how this can be done??
Thanks!
Lydecker
Member
Posted 6 years ago #
I've worked today on this point but I don't see why my background is fixed!
Here are the css file:
'body {
font: 62.5% 'Lucida Grande', Verdana, Arial, Sans-Serif; /* Resets 1em to 10px */
color: #444;
background: #999999 url('styles/mainstyle/bodybackground.jpg');
background-repeat: repeat-x;
background-attachement: scroll;
text-align: center;
margin: 0 0 30px;
}'
Thanks for your help!
Lydecker
Member
Posted 6 years ago #
Thanks for the interesting link Yosemite!
It works now...
Good... Maybe mark this resolved?
Lydecker
Member
Posted 6 years ago #
Of course, sorry...
Due to my mistake in "attachment", there was no difference between "scroll" and "fixed"!
The css looks like now:
background: #999999 url('styles/mainstyle/bodybackground.jpg') repeat-x fixed;"