Support » Themes and Templates » BG Gradient doesn't cover the whole screen

  • Resolved rseaver06


    Ok, so I’m not sure why, but the .bg-gradient doesn’t cover my entire page, it kind of stops half way down for no apparent reason. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • A url would be helpful…

    Sorry bout that, could have sworn I posted it.

    np 🙂

    Try this out:

    .bg-gradient {
        background: url(images/bg-gradient.png) left bottom repeat-x;

    Then you only have the issue of the wpstats img creating a space below the .bg-gradient div, so move that inside or hide it, and it’s fixed.

    The problem was that you had height:100% which gives the div the height of the browser window and no more. Removing that style allow the div to expand according to it’s default behaviour.

    *phew* Somehow I copied the code in wrong the first time I tried it and ended up with my whole page thrown off to the left. Came back and tried again and got it perfect. Thanks for your help!

    You’re welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘BG Gradient doesn't cover the whole screen’ is closed to new replies.