WordPress.org

Ready to get started?Download WordPress

Forums

Need CSS help - Nesting Existing DIVs into an overall Container DIV? (2 posts)

  1. ghraham
    Member
    Posted 4 years ago #

    So I am working on customizing a theme...

    I want to be able to fit the existing content containers into an overall container so that I can drop one background image for the content area. Is there maybe a better way to do this? If not, how can I create a container to nest all the other page elements in?

    http://www.AriellaDaly.com

    I am trying to use the bgContent.jpg as the background image

    Thanks for the help!!!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try adding your background image to the #content div:

    #content {
    margin:0 auto;
    padding:0;
    width:640px;
    background:url(images/bgContent.jpg);
    }

    Remember to upload your bgContent.jpg file to your theme's images directory.

Topic Closed

This topic has been closed to new replies.

About this Topic