Thread: Sidebox Color

Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Sidebox Color

    Folks

    I have followed the steps for adding a background image to the bottom of the side boxes which works fine for me. However I cannot for the life of me see where the coding is for the green bar underneath the image that i added. Can anyone point me in the right direction of what is no doubt a simple solution

    http://trendsupplies.ie/

    Shane

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

    Default Re: Sidebox Color

    It's in your stylesheet2.css. Section that reads
    .leftBoxContainer, .rightBoxContainer {stylesheet2.css (line 551)
    border-color:#9A9A9A #9A9A9A #336633;
    border-style:solid;
    border-width:1px 1px 5px;
    margin:1.5em 0 0;
    }
    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
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Sidebox Color

    For starters, you have TWO stylesheets loading:

    stylesheet.css
    stylesheet2.css

    Decide which one you want to use and get rid of the one you don't want. (You may need to "amalgamate" them before you delete/remove one).

    If you look in stylesheet2.css , find:

    Code:
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 1px solid #9a9a9a;
    	border-bottom: 5px solid #336633;
    	margin-top: 1.5em;
    	}
    border-bottom: 5px solid #336633;

    ... is the issue you need to deal with.

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Sidebox Color

    It looks like you have "abandoned" stylesheet.css in order to use stylesheet2.css .

    FTP stylesheet.css to your home computer (for backup purposes), then DELETE the original on the server.

    Then, on the server, RE-NAME stylesheet2.css back to stylesheet.css

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Sidebox Color

    Quote Originally Posted by kuroi View Post
    It's in your stylesheet2.css. Section that reads
    Kuroi...

    The declaration for the border-bottom is higher up the stylesheet. This needs to be dealt with. In your sample, there is no border-bottom declaration so the earlier style will still apply, surely?

    Also, as TWO stylesheets are being called, there may be a range of other conflicts (or counter-manding style calls).

    In short... the stylesheets need to be properly amalgamated and configured.

  6. #6
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Sidebox Color

    Quote Originally Posted by kuroi View Post
    It's in your stylesheet2.css. Section that reads
    Thank you, i was looking at the wrong stylesheet!

    Shane

  7. #7
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Sidebox Color

    Quote Originally Posted by fairestcape View Post
    For starters, you have TWO stylesheets loading:

    stylesheet.css
    stylesheet2.css

    Decide which one you want to use and get rid of the one you don't want. (You may need to "amalgamate" them before you delete/remove one).

    If you look in stylesheet2.css , find:

    Code:
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 1px solid #9a9a9a;
    	border-bottom: 5px solid #336633;
    	margin-top: 1.5em;
    	}
    border-bottom: 5px solid #336633;

    ... is the issue you need to deal with.
    Now im wondering about this, I am using the default install of zencart, I did make a copy on the server of the original stylesheet (called it stylesheet2.css) now Im wondering how it got to be called as I didnt tell it to be called :S

  8. #8
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Sidebox Color

    Any file with the .css file extention will be called, and in alpha-numeric order.

    As the protocol for CSS is to apply declarations chronologically, the declarations will be applied both in the order they are listed in a stylesheet AND the order in which stylesheets are loaded.

    If you call up your HOME PAGE, then look at the PAGE SOURCE (the background html) you will see in the header what stylesheets are being loaded.

    Have NOTHING is the css folder called xxxxxxxxxx.css, unless you want to use the styles therein declared.
    There is a README file in the css folder... Study it for a few minutes...

    Consider using FIREFOX browser with the Web Developer Add-on to help you analyse your pages off-line. That's how Kuroi and I found both your error, and your border issue.

 

 

Similar Threads

  1. Sidebox color
    By Rich219 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jul 2010, 07:43 PM
  2. backgroun color in a sidebox
    By deemurphy in forum General Questions
    Replies: 1
    Last Post: 27 Apr 2010, 05:09 AM
  3. Sidebox Trim Color
    By burelphotography in forum Basic Configuration
    Replies: 4
    Last Post: 11 Mar 2008, 01:29 PM
  4. Sidebox Background Color IE
    By mycomputerbuddy in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Nov 2007, 01:16 AM
  5. sidebox bg color and header color wont change..
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Jul 2007, 01:51 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