WordPress.org

Support

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

[Resolved] BG Gradient doesn't cover the whole screen

  • rseaver06
    Member

    @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…

    rseaver06
    Member

    @rseaver06

    Sorry bout that, could have sworn I posted it. http://www.ketsdeverconstruction.com.

    np 🙂

    Try this out:

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

    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.

    rseaver06
    Member

    @rseaver06

    *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 ‘[Resolved] BG Gradient doesn't cover the whole screen’ is closed to new replies.