Results 1 to 10 of 13

Hybrid View

  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

 

 

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