WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Background won't scroll

[Resolved] Background won't scroll

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    @alchymyth

    Forum Moderator

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

    if you want it to stay, try

    body { background-attachment:fixed; }

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

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Background won't scroll’ is closed to new replies.
Skip to toolbar