Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Posts
    6
    Plugin Contributions
    0

    Default Where is "box_bg.jpg"?

    Hi,

    I am using Zen Cart Classic 1.3.7.1 and changing the color of my side boxes. I have found in the CSS where to change the color from white to off-white but only the top of each box is changed. The bottom portion of each box is still white.

    http://yonsidemanse.com/dwellinthegarden/

    I suspect that I need to alter "box_bg.jpg" but I can't find it. The location is "background-image: url(../images/box_bg.jpg)" but what is the full URL where this is specifically located?

    And if this is not the right solution, what should I be doing to completely change the color in all sideboxes?

    Thanks for your help!

    ##############################___



    .leftBoxContainer, .rightBoxContainer {

    margin: 0em;

    border: 1px solid #9a9a9a;

    border-bottom: 5px solid #384b38;

    margin-top: 1.5em;

    /* create free space at the bottom of the box in which to display the image */
    padding-bottom: 20px;
    /* add the image to the boxes background */
    background-image: url(../images/box_bg.jpg);
    /* position the image at the bottom and center of the box */
    background-position: bottom center;
    /* EITHER set the image to not repeat */
    background-repeat: no-repeat;
    /* OR set it to repeat horizonatally */
    background-repeat: repeat-x;

    }

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Where is "box_bg.jpg"?

    That file isn't a part of standard Zen Cart and nor is that CSS.

    However, to answer your question, the CSS is expecting to find it at this location: includes/templates/classic/images/box_bg.jpg but it doesn't appear to actually exist on your site.

    To apply that color to the whole of the box, add it to the CSS for .leftBoxContainer and .rightBoxContainer instead of .sideBoxContent.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Where is "box_bg.jpg"?

    Quote Originally Posted by kuroi View Post
    That file isn't a part of standard Zen Cart and nor is that CSS.
    Interesting. I pasted that code directly from the CSS of my Zen Cart, which is the standard cart, I believe.

    Anyway, how would I apply this? I mean, do I create a square of color and name it "box_bg.jpg" and then save it to the URL you posted, since that line of code is already in my CSS? How do I know how large a box it should be?

    Thanks!

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Where is "box_bg.jpg"?

    No. Let go of that idea. It would work, but is unnecessarily onerous. To achieve the effect you want, just follow the advice I gave in the final paragraph of my previous post.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jan 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Where is "box_bg.jpg"?

    "No. Let go of that idea..." A very Zen way to answer!

    So I applied the off-white color to the CSS for .leftBoxContainer and .rightBoxContainer instead of .sideBoxContent, and this time only the lower portion of the boxes were off-white, leaving the upper parts of the box white. Ack.

    But I then applied that off-white color again to .sideBoxContent, and now all the boxes are the off-white color I want them to be. So your answer was very helpful in directing me to add a background-color tag to .leftBoxContainer and .rightBoxContainer.

    Thanks so much for your help!

 

 

Similar Threads

  1. Where do I change the status of "Shipped" to "Dispatched"?
    By safeg in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 31 Mar 2010, 02:09 PM
  2. Can't get rid of "bigger_Picture.jpg" that pops up under image
    By welchyboy in forum Setting Up Categories, Products, Attributes
    Replies: 20
    Last Post: 3 Dec 2009, 10:36 AM
  3. "... more info" link is displayed where I want a "buy now" button
    By ballyc27 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Sep 2007, 05:05 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