Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2008
    Posts
    4
    Plugin Contributions
    0

    css problem How install a background image?

    I am trying to install a background image to cutomize my website. I got it to work one time and after I modified my image, I couldn't get it to work anymore. The images folder I am using is the main image folder under my domain. Here is what I have in my classic/stylesheet.css
    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #B5EAAA;
    background-image: ../images/bkd.jpg;
    background-position: right;
    }

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: How install a background image?

    one item....

    background-image: url(../images/bkd.jpg);

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: How install a background image?

    The images folder I am using is the main image folder under my domain.

    Should be your classic template's images folder.

  4. #4
    Join Date
    Jun 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How install a background image?

    I tried what both of you have listed. Still nothing. I moved my images to the classic template's images folder. Also I tried this- background-image: url(../images/bkd.jpg); I am missing something somewheres. My website is www.jhpsales.com

  5. #5
    Join Date
    Jun 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How install a background image?

    Thank both of you! I finally got it right. You were both right. I was reading too much into it.

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: How install a background image?

    You should create your own custom template. If you continue to work in the /classic folders, you'll lose ALL your changes with the next upgrade/update.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Jun 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How install a background image?

    That is what I am in the process of doing right now. Thank you for your help;

  8. #8
    Join Date
    Jun 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: How install a background image?

    Hi Zenners!
    I'm customizing my first zen cart, so far so good... I have the custom template folder etc.. I would like my background to be a gradient between 2 colors, ie not 1 color not an image, can anybody help me?
    Thanks!

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: How install a background image?

    It's extremely difficult to put a gradient background in other than a wrapper with a fixed width.

    I generally use the mainWrapper (hornedlizardcreationsDOTcom) and use photoshop to create a gradient the width of the mainWrapper and 1 pixel in height.

    Name is something like mainWrapperBack.gif and put it in the images folder for your custom template.

    Here's an example of the css for the site I mentioned.

    #mainWrapper {
    background-image:url(../images/mainWrapperBack.gif);
    border:1px solid #000000;
    text-align:left;
    vertical-align:top;
    width:925px;
    }

    You can then add a contrasting background-color to the body tag of the css.

  10. #10
    Join Date
    Jun 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: How install a background image?

    Thanks!

 

 

Similar Threads

  1. Background image cover entire background w/one image
    By oxicottin in forum Templates, Stylesheets, Page Layout
    Replies: 43
    Last Post: 3 Apr 2012, 03:18 PM
  2. How to add a background image??
    By dddmx3 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jul 2010, 06:59 AM
  3. add background image to a attribute then have that background image act as hyperlink
    By sike1234 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 14 Nov 2008, 05:38 PM
  4. How to Change Background Colour to Background image
    By ittybittykitty in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Aug 2008, 04:36 PM
  5. Cant seem to install background image
    By Pablosan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jan 2007, 02:56 AM

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