Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    25
    Plugin Contributions
    0

    Default Site Background Image

    I am brand new to zen cart. I am having trouble getting my background image to show up. I have tried adding the background image under BODY in my stylesheet.css. I can change the color under BODY on my stylesheet and that change does work. When I add the image, it does not show up. Here is my BODY code.

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #E8F7F9;
    background-image: url('../images/body_bg.jpg');
    background-repeat: repeat-x;
    background-position: center top;
    }

    Thanks for any assistance!

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Site Background Image

    Quote Originally Posted by edeades View Post
    I am brand new to zen cart. I am having trouble getting my background image to show up. I have tried adding the background image under BODY in my stylesheet.css. I can change the color under BODY on my stylesheet and that change does work. When I add the image, it does not show up. Here is my BODY code.

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #E8F7F9;
    background-image: url('../images/body_bg.jpg');
    background-repeat: repeat-x;
    background-position: center top;
    }

    Thanks for any assistance!
    Ed,
    Leave out the single quotes..

    EX: 1. background-image: url('../images/body_bg.jpg');

    Change to this:

    1. background-image: url(../images/body_bg.jpg);
    2. use your ftp program to place the image to this path..
    3. includes/ templates/ your_template/ images/ body_bg.jpg
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3
    Join Date
    May 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Site Background Image

    Taking off the single quotes fixed it.

    Holy Cow haredo, thanks so much!

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Site Background Image

    Ed,
    Your Welcome..

    Nice site by the way..
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  5. #5
    Join Date
    May 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Site Background Image

    I am having issues with this as well. I am trying to have my background graphic cover the entire background of the page. Like replacing the white color that's there already. I followed the instructions here, and all that happened was my background graphic showed up where the main header navigation "box" is, with the background of the page remaining all white. Not what I was hoping would happen. ;)
    I've changed it back to the stock template for the time being. Here is the code I have currently:

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #3B3B39;
    background-color: #FFFFFF;
    background-image: url(../images/container_shadows.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    }

    And the site is http://flutterandfly.net/shop

 

 

Similar Threads

  1. 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
  2. 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
  3. Background Image & Background Color
    By jben in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Mar 2008, 01:11 AM
  4. Background image for site
    By rocketrod in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 10 Sep 2006, 05:19 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
  •