WordPress.org

Support

Support » Themes and Templates » Gradient background: permanent on the screen ?

Gradient background: permanent on the screen ?

  • 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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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!

    Check your spelling of attachment?
    http://www.w3.org/TR/REC-CSS2/colors.html#q2

    Thanks for the interesting link Yosemite!
    It works now…

    Good… Maybe mark this resolved?

    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;”

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gradient background: permanent on the screen ?’ is closed to new replies.
Skip to toolbar