WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Background Not Tiling Below Content (3 posts)

  1. whitezero
    Member
    Posted 1 year ago #

    I have an issue where I set a 100x100px image to tile as a background, but it's not tiling below content. If a page has little content, coming down only 500px from the top, below that the background appears just white.
    It happens in Chrome and Safari, but Firefox shows it just fine.
    Can't figure out how to get it to tile all the way to the bottom of the window.

    here is the css:

    body.custom-background {
    background-image: url('localhost:8888/wp-content/uploads/2012/09/backg11.png');
    background-repeat: repeat;
    background-position: top center;
    background-attachment: fixed;
    }
  2. jnhghy
    Member
    Posted 1 year ago #

    Hi, can you share a link to your site? can you add to your body rule high: 100% ?(I'm not sure this is what you need but might do it).
    Regards

  3. whitezero
    Member
    Posted 1 year ago #

    Thanks, it worked, except I had to add it to <html> instead of <body>. I guess it just depends on how the theme is built.

Topic Closed

This topic has been closed to new replies.

About this Topic