Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    153
    Plugin Contributions
    0

    Default Adding background image

    I am modifying a new template from zenflavor, premium8a and I want to add a background image to repeat that fills in the sides no matter how wide someone's screen is. I hope this makes sense, I am not an expert and do not want to mess things up. If you look at my site, you will see sections of color, I want those to remain.

    My site is polishpotterystore.com/shopping

    Thank you.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding background image

    Add it in the stylesheet.css file for the template in the body tag
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Adding background image

    In your stylesheet, find at the top
    Code:
    body {
    color:#3d4041;
    font: 12px arial, sans-serif;
    background-color:#f5f5f5;
    margin:15px 15px 15px 15px;
    /*
    background-image: url("../images/bodybg1.gif");
    background-repeat: repeat-x; 
    */
    
    }
    With the background-image commented out, you will not get anything; but when I go to [yoursite]/includes/templates/premium8a/images/bodybg1.gif
    I get "403 Forbidden". Your customers can't see a background image if access to it is forbidden.

  4. #4
    Join Date
    Feb 2009
    Posts
    153
    Plugin Contributions
    0

    Default Re: Adding background image

    I see that background image but I didn't put that there, it came with the theme. I have uploaded my background pic and changed it in the css but it does not show. The image is background.jpg (is .gif better for backgrounds?)

  5. #5
    Join Date
    Feb 2009
    Posts
    153
    Plugin Contributions
    0

    Default Re: Adding background image

    Ok, I got it to show up mostly where I want it to with the exception of the left side boxes. Can I make those boxes transparent so that background shows through?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Adding background image

    If you make the sideboxes transparent, the #mainWrapper blue background will show through. You have to make #mainWrapper transparent, and then make the areas you want solid blue have their own background-color.

 

 

Similar Threads

  1. Adding tiled background image
    By Chestnut Junction in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Aug 2009, 02:16 PM
  2. adding a background image
    By BnBSports in forum Templates, Stylesheets, Page Layout
    Replies: 27
    Last Post: 17 Jun 2008, 07:28 AM
  3. Adding a background image
    By Jen Will in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 30 Jan 2008, 03:14 PM
  4. Adding flash to the background image
    By Dale Thomas in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Mar 2007, 05:35 PM
  5. .rightBoxHeading - adding a background image
    By bobblebob in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Oct 2006, 02:24 PM

Posting Permissions

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