Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2009
    Posts
    37
    Plugin Contributions
    0

    help question Change the colours in SideBox Outside only please

    Hello.

    Please can someone tell me the location in the Zen Cart where I go to change the colours to the left/right side of the Sideboxes.

    And the colour for just the Center part of the Main_page!

    I wish to have the sides one colour and the center a different colour!

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Change the colours in SideBox Outside only please

    FireFox with the developers tool add on will point you in the right direction.

    Tina

  3. #3
    Join Date
    Aug 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Change the colours in SideBox Outside only please

    This may help! Do you know?

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

    Default Re: Change the colours in SideBox Outside only please

    Add to your stylesheet something like
    Code:
    .leftBoxContainer {
        border: 1px solid #aabbcc;
        border-left: #ddeeff;
        border-right: #112233;
        }
    Repeat for .rightBoxContainer, and adjust properties as desired.

    If you want something else changed, you will have to give a better description or an image.

  5. #5
    Join Date
    Aug 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Change the colours in SideBox Outside only please

    Thanks for the help. Does this also change the right side box too I wonder???

    I am using the classic stylesheet.css, I went and changed my MainWrapper to #666666 ok this is a yellow colour and I am wondering if the sides can be different colours rather than the whole inside page yellow??

    #mainWrapper {
    background-color: #ffff33;
    text-align: left;
    width: 1050px;
    vertical-align: top;
    border: 2px solid #666666; }

  6. #6
    Join Date
    Aug 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Change the colours in SideBox Outside only please

    Skip last Glenn, I see what your code has in it, I will check this out, thanks again.

  7. #7
    Join Date
    Aug 2009
    Posts
    37
    Plugin Contributions
    0

    help question Questioned I got wrong, sorry, I meant....

    Arrrggghhh!

    I meant not the borders (outside) the whole sides to be a different colour than the Center part of the page!

    So say I have my borders, bottom borders, and the inside colour of the sideboxes done up, but I would like to have the sides the colour red, while the center of my page remains yellow.

    I will draw a little pic here.

    | red | yellow | red |
    | | | |
    | | | |
    | | | |


    left sidebox center right sidebox

    See the code that I changed to yellow made all the page yellow, so I was wondering if there are ways to make the sideboxes red instead of yellow.??

    I've been trying changing code from line 20 to 600 sort to speak to see what changes what.

    I am just not sure if I put the code that you mention overtop of the lines:

    .leftBoxContainer, .rightBoxContainer {
    margin: 0em;
    border: 1px solid #ff0000;
    border-bottom: 5px solid #ff0000;
    margin-top: 1.5em;
    }
    line 551-6

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

    Default Re: Questioned I got wrong, sorry, I meant....

    If you want the sideboxes themselves (not the sidebar they sit on) to be yellow background, that is easy. Change
    Code:
    .leftBoxContainer, .rightBoxContainer {
        margin: 0em;
        border: 1px solid #ff0000;
        border-bottom: 5px solid #ff0000;
        margin-top: 1.5em;
        }
    to
    Code:
    .leftBoxContainer, .rightBoxContainer {
        margin: 0em;
        background: #ffff33;
        border: 1px solid #ff0000;
        border-bottom: 5px solid #ff0000;
        margin-top: 1.5em;
        }
    Adjust the background color as required.

    You can do this with #navColumnOne and #navColumnTwo if you want the whole sidebar backgrounds yellow.

  9. #9
    Join Date
    Aug 2009
    Posts
    37
    Plugin Contributions
    0

    Idea or Suggestion Re: Change the colours in SideBox Outside only please

    Thank you so very much. This Zen Cart is actually a neat template to play with, lots of changes can be done, and I've learned a lot from Dr. Byte, Tina, and yourself!

    What I've done was got that Firefox web developer program and it tells you where to go (no hell of course) so that's helps!

    I am wondering, since the sideboxes have code that changes both sides at the same time you know for colour etc... I am wondering that code you gave me where it does the left #nav and the right #nav....would you have to change the code for all the places where you made changes in?

    Think of just the SideBoxes, if you manipulate code for them in one place, will this conflict with the rest of the template? Because I noticed there are at least two areas where the sideboxes can be changed.

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

    Default Re: Change the colours in SideBox Outside only please

    You can make stylesheet rules for any element that has a class or id tag. You only need to set a style property for a given element once. If there are different rules that mention an element, they should be setting different kinds of properties for it, or else the second one will override the first. In general, it is best to collect all properties for an element under one rule where possible.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. black pure theme, how do I change the colours??
    By Nigraphics in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Aug 2011, 02:15 PM
  2. Change colours of links in the left ctegory list box
    By ilmarchez in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Sep 2009, 11:47 PM
  3. Help with how to change colours please
    By Daisy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Aug 2009, 09:03 PM
  4. Change colours in the payment information area?
    By Dozzer in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 24 Feb 2009, 09:10 PM
  5. How do I change the appearance of one sidebox only?
    By Robert T in forum Templates, Stylesheets, Page Layout
    Replies: 46
    Last Post: 6 Sep 2006, 05:57 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