WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] HELP! div background image on page (3 posts)

  1. technoscott
    Member
    Posted 8 years ago #

    I have successfully placed a background image for my content div using the blix theme. However, when I create new pages (not posts) I cannot figure out how to add a background image to the page content area.

    Example: http://www.coastalsurfing.com - has content background
    http://www.coastalsurfing.com/?page_id=7 does not have the background image

    Thanks,
    Scott

  2. eridan
    Member
    Posted 8 years ago #

    On your main page, you have a div with the id container. Your subpages, however, are slightly different. They've also got the div with id container, but as you can see when looking at the code, it is of type class="singlecol" as well.

    In your spring_flavour.css you've specified that #container should have a background, but #container.singlecol shouldn't.

    (#container.singlecol {background-image:none;} is causing this)
    My suggestion, remove it..

  3. technoscott
    Member
    Posted 8 years ago #

    Thanks...you're golden.

    It worked like a charm. One little change...You should see the bruises on my forehead from beating my head against the wall for hours.

Topic Closed

This topic has been closed to new replies.

About this Topic