SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Site Background WordPress Helppppp

    Hey Everyone,

    I really could use some help on a site I am working on. The site was built using WordPress and I use custom html and css within the child theme to alter the site. The site located here has a background image on the home page that looks fine. However, I need to replicate the same image on the inner pages but the pages vary in height because of the different amount of content on each page.

    I tried using the following code for the inner pages but no luck:

    #background {
    background: url("/temp/wp-content/themes/ace_child/siteelements/background_top.jpg") top no-repeat;
    background: url("/temp/wp-content/themes/ace_child/siteelements/background_middle.jpg") center repeat-y;
    background: url("/temp/wp-content/themes/ace_child/siteelements/background_bottom.jpg") bottom no-repeat;
    }

    I am using the twentyten theme and do not know how to get this to work. It must work in all major browsers (IE 8 and 9, Firefox, Chrome, and Safari).

    Thank you so much in advance. I appreciate all the help!

  2. #2
    SitePoint Addict bronze trophy
    Join Date
    Mar 2013
    Location
    Oneonta, NY
    Posts
    307
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    a-town,

    Do you have the images on the site now? Have you tried using more general height and width properties? For instance width: 100%.

    Best,

    Shawn


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •