Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2006
    Posts
    8
    Plugin Contributions
    0

    Default How to make center column to be a different color than side columns

    The colors I chose for my site need some tweaking. Where in the stylesheet do I change the color of the center column only? Thanks - Kelley

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,886
    Plugin Contributions
    0

    Default Re: How to make center column to be a different color than side columns

    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}
    delete #contentMainWrapper from the above rule and create a rule like below
    Code:
    #contentMainWrapper {
                    margin: 0em;
                    padding: 0em;
                    background-color: #ababab;
                    }
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Nov 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to make center column to be a different color than side columns

    I must be missing something. When I followed the instructions it changed all three columns, not just the center one.

    Website is www.espressoempire.com

    Thanks.

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,886
    Plugin Contributions
    0

    Default Re: How to make center column to be a different color than side columns

    My bad... change #contentMainWrapper to .centerColumn

    oh and stick #contentMainWrapper back in the previous rule
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Nov 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to make center column to be a different color than side columns

    That changed the color on part of the column. It also changed the space between the words on the top line and the top graphic so the graphic looks like it is under the column. There is now a big section of the old color at the bottom of the column.

    The index page looks bad but the category page looks even worse.

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

    Default Re: How to make center column to be a different color than side columns

    i do not know exactly what you are seeking and looking at the site you may have corrected this.

    Your areas are defined as(in the order they appear in your stylesheet)
    Code:
    .sideline {
    width: 29px;
    background: #7D5844;
    }
    #mainWrapper {
    	background-color: #CEBA9A;
    	text-align: left;
    	width: 780px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    .centerColumn {
         margin: 0em;
         padding: 0em;
         background-color: #DFC8A4;
    }
    .centerBoxWrapper {
    	background: #DFC8A4;
    	border: 1px solid #9a9a9a;
    	height: 1%;
    	margin: 1.1em 0;
    	}
    .sideBoxContent {
    	background: #DFC8A4;
    	padding: 0.4em;
    	}
    I think that I got them all and you can adjust the colors as you wish

    BTW: I like the direction that you are taking this with good graphics
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Nov 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to make center column to be a different color than side columns

    The problem I have is that when I added .centerColumn {....... it messed up the layout. If the .centerColumn code under the #header wrapper code isn't there the graphics look great but the center column is the same color as the left and right column.

    I am looking to just change the center column color. I will put the code back to the way it was so you can see the way the layout should be. The top graphic with the coffee beans in it doesn't get cut off when I remove the .centerColumn stuff but the center column reverts to the same color as the other two columns.

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

    Default Re: How to make center column to be a different color than side columns

    I am guessing but I think that you are wanting this: Look for it in the css and if it is not there add it:
    Code:
    #indexDefault {
    background-color: #dfc8a4;
    }
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Nov 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to make center column to be a different color than side columns

    I need the center column on all pages to change color. Now that I added that you can see the problem clearly by looking at the index page then click on a category (click Wilbur Curtis). See the position of the center column changed on the index page but the color of the center column is correct. On the category page the position of the column is correct but the color is wrong.

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

    Default Re: How to make center column to be a different color than side columns

    Scrap my previous entry and find or add this and see if this helps
    Code:
    #center {
    background-color: #dfc8a4;
    }
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Unable to make column grid show more than 1 column
    By ZSchinelli in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 14 Aug 2012, 09:14 AM
  2. Replies: 4
    Last Post: 8 Jan 2012, 08:51 PM
  3. Replies: 2
    Last Post: 13 Aug 2009, 03:11 AM
  4. How to make the center column loading first?
    By xordox in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Apr 2009, 02:55 AM
  5. For "column display", how to NOT center columns...
    By bugyoutoo in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Mar 2008, 07:15 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