• Resolved gerbenschmidt

    (@gerbenschmidt)


    Hi,

    I have customized a theme. (header, menubar, container, right widget area, footer). I have added a background image in the theme css file screen.css, pointing to the div container of the theme.

    The background image should be repeated till the start of the footer. However on 2 of the 4 pages the background image stops, because the height of div container is not stretched to the start of the footer.

    How can I solve this problem?

    screen.css:

    #container {
        background-color: #fff;
        background: url(../images/container-bg.jpg) repeat;
        background-position:  0px -195px;
    
    }

    2c-l-layout.css:

    #container {
        clear: both;
        float: left;
        margin: 0 -300px 0 0;
        width: 100%;
    }

    Greetzzz Gerben

Viewing 4 replies - 1 through 4 (of 4 total)
  • Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance. CSS by itself doesn’t mean a lot when it’s taken out of the context of a site.

    Thread Starter gerbenschmidt

    (@gerbenschmidt)

    Nevermind I sort it out, thanx for the reply

    Could you please let me know how did the issue get resolved?
    I am facing the same issue.

    Thanks,
    Ekta

    Thread Starter gerbenschmidt

    (@gerbenschmidt)

    Yes, in my case I had to put the background image in the #wrapper, one DIV level up….

    Greetzzz,

    Gerben

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘div container height varies per page’ is closed to new replies.