Non-scrolling background? Education

Community Forums Forums Design Tips and Tricks Non-scrolling background? Education

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  jronaldlee 1 year, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60528

    jronaldlee
    Participant
    Post count: 14

    I’m using a minimally updated Education theme, but I’d like the purple background to not scroll. Is this possible?

    http://jamesisrunning.com
    #60837

    UT Mod
    Participant
    Post count: 160

    you can use this, maybe

    .education-purple #inner {
    background: url(images/purple/bg-top.jpg) repeat-x;
    background-attachment: fixed;
    }

    the new thing is background-attachment: fixed; in the above snippet.

    #61300

    jronaldlee
    Participant
    Post count: 14

    That worked… kind of. At the same time, the background floated up to the top of the page (under the white header), so I lost about 120 pixels worth of background.

    Anyhow – I followed that up by altering the background image so it’s taller, and it looks good. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.