Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    Post a link to your site, and/or describe exactly where you want the background. As noted above, there is more than one possibility for this. The Firefox Web Developer can let you find this for yourself.

  2. #12
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    I managed to figure if out with the firefox tool, thanks a lot for the tip.
    james

  3. #13
    Join Date
    May 2008
    Location
    Colorado Springs, CO 80904
    Posts
    1
    Plugin Contributions
    0

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    And you're not going to share what you found out with the rest of us?

  4. #14
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    Cant believe im helping someone! Using template override, change stylesheet.css

    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    background-image: url(../images/main.jpg);
    background-repeat: repeat;
    background-position: top;
    }

    Worked for me but im a bit of a newbie. Good luck.

    Firefox Web Developer and Firebug are both great for finding the bit of the CSS you need to change.

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

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    As you will notice, this will put the same image into each of the locations in the list. If you only want the image once, or tiled in one continuous sweep instead of several chunks, isolate the element where you want the bg, like this:
    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    }
    
    #mainWrapper {
    margin: 0em;
    padding: 0em;
    background-image: url(../images/main.jpg);
    background-position: top;
    }
    "Repeat" is the default, so you only need to specify background-repeat: if you want something other than continuous tiling, like repeat-x, repeat-y, or no-repeat.
    Last edited by gjh42; 13 May 2008 at 07:58 AM.

  6. #16
    Join Date
    Jun 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    What if my background has three images? three separate images to make one, how would I do that?

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

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    If the three images align with parts of your page, you can use them as backgrounds in those parts.
    A link to your site and description of exactly where you want the images to appear will let us give useful advice.

  8. #18
    Join Date
    Jun 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    http://dawnenchantments.com/demo/

    I'm just starting, I want to make sure the background it going to work with what I want.

    I have a background that has a top, middle and bottom, I can put the top in but what code would I use for the middle and bottom?

    Thanks so much

  9. #19
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    Get firefox and then install firebug.

    Use Firebug to see what divs you want to attach background images to. (You may want to attach just one image to the mainWrapper div).

    Set the background image to the divs you want with your css.

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

    Default Re: Editing CSS in Dreamweaver, trying to put a background image.

    You could put the top in #headerWrapper, and the middle in #mainWrapper or #contentMainWrapper, or the body {} declaration. The bottom could go in #navSuppWrapper or #siteInfoLegal, depending on its height. You could also put the bottom in #mainWrapper if the middle is in body or #contentMainWrapper.

    The best answer will depend on exactly how high each part of the background image is.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Put a background image on all products pictures
    By xergos055 in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Nov 2008, 08:34 PM
  2. Where do I put my background image?
    By shamis in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Dec 2007, 05:37 PM
  3. how do I put a background image in the header?
    By touchclothing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Mar 2007, 10:16 AM
  4. how to put background image to left column
    By vr4indian in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Oct 2006, 02:58 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR