Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    35
    Plugin Contributions
    0

    Default Adding tiled background image

    I'm sorry to have to post this question, but at this point I feel like a complete dunce I am attempting to change the background of my site which I am in the process of building from a solid color to a tiled image located in my /templates/CUSTOM/images folder. I have copied code from these forums and replaced values with my own values but still no background. As stated before, I copied the files from the classic template into a new CUSTOM template and have been attempting to tweek the css stylesheet of that CUSTOM template, but I simply cannot for the life of me figure out what I'm doing wrong...as an old school html user, this css stuff is a bit new to me My site (which is under construction) is:

    www.epatternjunction.com

    As you can see, the "dead" space on the left and right of my cart is white, that is what I wish to replace with an image.

    Thanks in advance for any assistance!

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Adding tiled background image

    Does it work if you put the polkadot image into the main images folder? If so, then the path to the image in your stylesheet is wrong.

    Rob

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Adding tiled background image

    I just followed up on the Similar Threads (below) and several others besides. Your URL in your stylesheet is correct. The fact that the image is not showing up suggests the problem lies elsewhere -- perhaps the image itself is in the wrong folder? Can you get to the image by entering its full URL into a browser?

    Rob

  4. #4
    Join Date
    Aug 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Adding tiled background image

    Thank you for the quick reply Unfortunatley, I'm at work atm and can't access my site, but I'll check the path as soon as possible to verify the location of the image. I had placed the background in the images folder located within my "CUSTOM" template. I'll try moving it to a different folder or accessing using the long extension...and a thought just occured to me...if I copied the "classic" template and saved it as my "CUSTOM" template (which I did) perhaps there is some code directing the css to look for images in the templates/classic/images, not my templates/CUSTOM/images folder. Can't wait to get home and try, I really like zen cart thus far, very easy to add product and set various pricing and download options, now I just need to learn how to tweak the look

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Adding tiled background image

    Hi again,

    I just tested it on my local, un-modified copy of ZC v1.3.8a, using this code in includes/templates/classic/css/stylesheet.css, and it worked.
    Code:
    body {
    	margin: 0;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 70%;
    	color: #000000;
    	background-color: #e5edf5;
    	background-image: url(../images/donut.jpg);
    	background-repeat: repeat;
    	}
    The image file, in this case, is in...
    includes/templates/classic/images/

    In your real site, it would be in your custom template folder's images folder instead, of course.

    Rob

 

 

Similar Threads

  1. ######? tiled background image not working
    By agsmdkgmadsfgpioj in forum Addon Templates
    Replies: 11
    Last Post: 3 Aug 2010, 11:30 PM
  2. Making a tiled background stay still?
    By uruharacosplay in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Dec 2007, 11:20 PM
  3. Tiled background image + shadow?
    By lummi in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Oct 2007, 06:32 AM
  4. Tiled background and main text area problem
    By jconshue in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Jan 2007, 10:47 AM
  5. Header (logo) Background tiled image
    By Kitty in forum General Questions
    Replies: 2
    Last Post: 20 Dec 2006, 11:54 AM

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