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

  1. zombiekim
    Posted 6 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. Michael
    Forum Moderator
    Posted 6 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
    Posted 6 years ago #

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

  4. zombiekim
    Posted 6 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


No tags yet.