WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Background won't scroll (4 posts)

  1. zombiekim
    Member
    Posted 3 years ago #

    I know this has been asked before, but I've searched around and haven't found any solution that's worked for me. My background image won't scroll down: http://zombiekim.com/wordpress/category/brains/.
    I'm using a Flexx template, and I have this as the body:

    body {
    	background: #000000;
    background-image: url(images/body-bg.gif) top center;
    background-attachment: scroll;
    	color: #eee;
    	font-family: Arial, Trebuchet MS;
    	font-size: 12px;
    	line-height: 20px;
    }

    Thanks, help much appreciated!

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    it is scrolling - up - with the rest of the site.

    if you want it to stay, try

    body { background-attachment:fixed; }

  3. rinse
    Member
    Posted 3 years ago #

    It's scrolling down for me, as opposed to being 'fixed'

  4. zombiekim
    Member
    Posted 3 years ago #

    Sorry, I'm a newbie. I want the background image to stay visible as you scroll down. I've switched it now from "scroll" to "fixed," but either way I assign it, the image still stays stuck at the very top of the page when I view it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.