Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    help question Background images

    I'm using the default Zen-Cart template. Ref: www.healthreflections.com.au

    I would like to put background images in the sideboxes but not sure how it could be done... is this possible, and if so, how can I do it?

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

    Default Re: Background images

    I would like to put background images in the sideboxes but not sure how it could be done... is this possible, and if so, how can I do it?
    Inside the side boxes themselves or in the area behind them?

  3. #3
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Background images

    Hoping to put an image as the background of the sidebox, so it would be siting in the box with everything in front of it.

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

    Default Re: Background images

    Hoping to put an image as the background of the sidebox
    The same for all side boxes?
    Or different for each side box?

    A link to your install would illuminate the issue

    Place ONE space in it to break the link as in
    http: //www.zen-cart.com/

  5. #5
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Background images

    I'm wanting a background image for all sideboxes, preferably a different image for each, but i can do all the same if it has to be. Link posted, in first post: http://www. healthreflections.com.au

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

    Default Re: Background images

    Each side box has a ID, globally the class is .sideboxContent
    For globally add a background image to the class in the stylesheet associated with your template
    Code:
    .sideBoxContent {
            background-image: url(../images/your_image.ext);
    	background-color: #FFFFFF;
    	padding: 0.4em;
    	}

  7. #7
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Background images

    I've added in the red line as you've shown, but it's not showing the background image. I've checked the URL of the image and it's set correctly.

    Is there something else I can do for the sideboxes?

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

    Default Re: Background images

    Is there something else I can do for the sideboxes?
    Just checked and your stylesheet does not have a background image called out

    BTW: What are you using to edit your files??

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

    Default Re: Background images

    Where do you believe the correct image location is? Template images go in /includes/templates/your_template/images/your_image.ext.

  10. #10
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Background images

    I'm using the built-in normal template, I thought I was meant to put it in the "template_default" tree of folders, but I've since moved it to the "classic" tree of folders instead and found I can get it working there. It's working fine now.

    I found it in a different thread - http://www.zen-cart.com/forum/showthread.php?t=57809

    All sorted :) Cheers!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Background images
    By Crazy in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 30 May 2007, 09:07 PM
  2. Replies: 1
    Last Post: 29 Sep 2006, 04:52 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