Results 1 to 10 of 46

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Sideboxes with different colours?

    Hi,


    how do you change the background colour/image, on each sidebox of your page?

    Example: Colour A is shoppingcart sidebox and colour B is whosonline sidebox etc..

    How do you get the result with css?

    -Jarsa-

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Sideboxes with different colours?

    If ou use firefox and the developers toolkit to look at the css for your pages, you see that each sidebox has it's own id (categoriesHeading, sponsorsHeading, etc.).

    In order to make each box different simply add the defines for each heading to the end of your css


    Hope that helps !
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Sideboxes with different colours?

    Thank You TinaS!!! I am on the road again

    -Jarsa-

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Sideboxes with different colours?

    Okay I don't mean to be a dummy about this, but I can't figure out how to make this work... What am I doing wrong here???

    http://divawebdzine.com/clients/TreeLifePublishing/

    I used the blank sidebox contribution. I want this new sidebox to have no background. I am getting nowhere fast..

    Here's the relevant portion of my CSS: what did I do wrong:
    Code:
    /*sideboxes*/
    .columnLeft {}
    
    h3.leftBoxHeading, h3.leftBoxHeading a, h3.leftBoxHeading label, h3.rightBoxHeading, h3.rightBoxHeading a, h3.rightBoxHeading label {
    	font-size: 1.1em;
    	color: #ffffff;
    	}
    
    h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
    	color: #005279;
    	text-decoration: none;
    	}
    
    .leftBoxHeading, .rightBoxHeading {
    	margin: 0em;
    	background-image:url(../images/box000.gif);
    	background-repeat: no-repeat;
    	padding: 20px;
    	}
    
    .centerBoxHeading {
    	font-size: 12px;
    	background-image:url(../images/bar.gif);
    	background-repeat: repeat-x;
    	padding-top: 7px;
    	padding-bottom: 13px;
    	}
    
    .leftBoxContainer, .rightBoxContainer {
    	background-image:url(../images/box001.gif);
    	background-repeat: repeat-y;
    	margin-top: 0px;
    	}
    
    .sideBoxContent {
    	background-image:url(../images/box002.gif);
    	background-repeat: no-repeat;
    	font-size: 11px;
    	line-height: 125%;
    	background-position:bottom;
    	padding-top: 5px;
    	padding-left: 20px;
    	padding-right: 20px;
    	padding-bottom: 25px;
    	}
    
    .contentSideBox {
    	font-size: 11px;
    	line-height: 125%;
    	padding-top: 5px;
    	padding-left: 20px;
    	padding-right: 20px;
    	padding-bottom: 25px;
    	}
    
    #contentboxsidebox{
    	margin-top: 0px;
    	}
    
    .centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading, .rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
    	font-size: 11px;
    	text-align: center;
    	}
    
    h3.leftBoxContainer, #whatsnewHeading, #searchHeading, #recordcompaniesHeading, #searchContent, #featuredContent, #specialsHeading, #manufacturersHeading, #reviewsHeading, #featuredHeading, #musicgenresHeading, #currenciesHeading, #shoppingcartHeading {
    	font-size: 11px;
    	text-align: center;
    	}
    
    .productListing-rowheading {
    	font-size: 12px;
    	background-image: url(../images/bar.gif);
    	background-repeat: repeat-x;
    	height: 30px;
    	}
    
    #bestsellers .wrapper {
    	margin: 0em 0em 0em 1.5em;
    	}
    
    #bestsellers ol {
    	padding: 0;
    	margin-left: 1.1em;
    	}
    
    #bestsellers li {
    	padding: 0;
    	margin: 0.3em 0em 0.3em 0em;
    	}
    
    #bannerboxHeading {
    	background-color: #0000CC;
    	}
    
    #upProductsHeading {
    	text-align: left;
    	}
    
    #upDateHeading {
    	text-align: right;
    	}

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

    Default Re: Sideboxes with different colours?

    Your div with ID contentboxsidebox also has the class leftBoxContainer, which specifies a background image:

    .leftBoxContainer, .rightBoxContainer {
    background-image:url(../images/box001.gif);

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Sideboxes with different colours?

    okay so I added this to the stylesheet, but still ended up with the same result.. I am stumped here..

    .leftBoxContainer, #contentboxsidebox{};

 

 

Similar Threads

  1. Adding different quantities for different colours of a product
    By Daydreamer2007 in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 23 Jan 2012, 09:34 PM
  2. colours of search box etc and sideboxes
    By maxy007 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2011, 10:48 AM
  3. Making two different sideboxes with categories
    By Mersey Internet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Oct 2009, 11:32 PM
  4. Problem with different link colours
    By TeeGee in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 May 2008, 10:16 PM
  5. Replies: 7
    Last Post: 23 Aug 2006, 06:14 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