Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the background color on boxes


sarvid

Recommended Posts

Posted

I am sorry if this is beating a dead horse or not. I have searched the forums and not found an answer. I skinned my site with infobox skin manager and I think I'm on my way to a nice looking site. I can't for the life of me figure out how to make the inside of the categories box background white or transparent. I have changed every line in my stylesheet with the word background in it to either transparent or #FFFFFF. All I have gotten is text changing color or no visible effect I can see. Here is a link to my site, still under heavy construction and waiting for some help!! My Webpage

Posted
I am sorry if this is beating a dead horse or not. I have searched the forums and not found an answer. I skinned my site with infobox skin manager and I think I'm on my way to a nice looking site. I can't for the life of me figure out how to make the inside of the categories box background white or transparent. I have changed every line in my stylesheet with the word background in it to either transparent or #FFFFFF. All I have gotten is text changing color or no visible effect I can see. Here is a link to my site, still under heavy construction and waiting for some help!! My Webpage

 

I think its the "info box" section if I remember correctly. Try altering the colour option for this in the style sheet.

Posted

/includes/stylesheet.css

 

look for

 

.infoBox {

background: #b6b7cb;

 

change this and it should fix the problem.

 

if you are missing these lines in the infobox section then put them in.

 

 

Edward

Posted
/includes/stylesheet.css

 

look for

 

.infoBox {

background: #b6b7cb;

 

change this and it should fix the problem.

 

if you are missing these lines in the infobox section then put them in.

Edward

Thanks for replies. I tried this and it still is giving me a black background. I also tried altering the stylesheet in admin/includes. Any more ideas?

Here is my code.... from the main catalog stylesheet

/*

$Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

.errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; }

.stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; }

.productsNotifications { background: #f2fff7; }

.orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; }

 

BODY {

background: #ffffff;

color: #000000;

margin: 0px;

}

 

A {

color: #000000;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

 

FORM {

display: inline;

}

 

TR.header {

background: #ffffff;

}

 

TR.headerNavigation {

/* background: #bbc3d3; removed for ISM */

}

 

TD.headerNavigation {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

/* background: #bbc3d3; removed for ISM */

color: #ffffff;

font-weight : bold;

}

 

A.headerNavigation {

color: #FFFFFF;

}

 

A.headerNavigation:hover {

color: #ffffff;

}

 

TR.headerError {

background: #ff0000;

}

 

TD.headerError {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

background: #ff0000;

color: #ffffff;

font-weight : bold;

text-align : center;

}

 

TR.headerInfo {

background: #00ff00;

}

 

TD.headerInfo {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

background: #00ff00;

color: #ffffff;

font-weight: bold;

text-align: center;

}

 

TR.footer {

/* background: #bbc3d3; removed for ISM */

}

 

TD.footer {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

/* background: #bbc3d3; removed for ISM */

color: #ffffff;

font-weight: bold;

}

.infoBox {

/* background: #b6b7cb; changed for ISM - optional */

background: #FFFFFF;

}

 

.infoBoxContents {

/* background: #f8f8f9; changed for ISM - optional */

background : #FFFFFF;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

.infoBoxNotice {

background: #FF8E90;

}

 

.infoBoxNoticeContents {

background: #FFE6E6;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TD.infoBoxHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

background: #bbc3d3;

color: #ffffff;

}

 

TD.infoBox, SPAN.infoBox {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd {

background: #f8f8f9;

}

 

TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even {

background: #f8f8f9;

}

 

TABLE.productListing {

border: 1px;

border-style: solid;

border-color: #b6b7cb;

border-spacing: 1px;

}

 

.productListing-heading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #b6b7cb;

color: #FFFFFF;

font-weight: bold;

}

 

TD.productListing-data {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

A.pageResults {

color: #0000FF;

}

 

A.pageResults:hover {

color: #0000FF;

background: #FFFF33;

}

 

TD.pageHeading, DIV.pageHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 20px;

font-weight: bold;

color: #9a9a9a;

}

 

TR.subBar {

background: #f4f7fd;

}

 

TD.subBar {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #000000;

}

 

TD.main, P.main {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

line-height: 1.5;

}

 

TD.smallText, SPAN.smallText, P.smallText {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TD.accountCategory {

font-family: Verdana, Arial, sans-serif;

font-size: 13px;

color: #aabbdd;

}

 

TD.fieldKey {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

TD.fieldValue {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

}

 

TD.tableHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

SPAN.newItemInCart {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #ff0000;

}

 

CHECKBOX, INPUT, RADIO, SELECT {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

}

 

TEXTAREA {

width: 100%;

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

}

 

SPAN.greetUser {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

color: #f0a480;

font-weight: bold;

}

 

TABLE.formArea {

background: #f1f9fe;

border-color: #7b9ebd;

border-style: solid;

border-width: 1px;

}

 

TD.formAreaTitle {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

SPAN.markProductOutOfStock {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

color: #c76170;

font-weight: bold;

}

 

SPAN.productSpecialPrice {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

 

SPAN.errorText {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

 

.moduleRow { }

.moduleRowOver { background-color: #D7E9F7; cursor: pointer; cursor: hand; }

.moduleRowSelected { background-color: #E9F4FC; }

 

.checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }

.checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }

 

/* message box */

 

.messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; }

.messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; }

 

/* input requirement */

.inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }

 

/* ISM Start */

 

.newinfobox_top1 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top2 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top3 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top4 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top5 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top6 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top7 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top8 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top9 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top10 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfoBoxContents {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

/* ISM End */

Posted
Thanks for replies. I tried this and it still is giving me a black background. I also tried altering the stylesheet in admin/includes. Any more ideas?

Here is my code.... from the main catalog stylesheet

/*

$Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

.errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; }

.stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; }

.productsNotifications { background: #f2fff7; }

.orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; }

 

BODY {

background: #ffffff;

color: #000000;

margin: 0px;

}

 

A {

color: #000000;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

 

FORM {

display: inline;

}

 

TR.header {

background: #ffffff;

}

 

TR.headerNavigation {

/* background: #bbc3d3; removed for ISM */

}

 

TD.headerNavigation {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

/* background: #bbc3d3; removed for ISM */

color: #ffffff;

font-weight : bold;

}

 

A.headerNavigation {

color: #FFFFFF;

}

 

A.headerNavigation:hover {

color: #ffffff;

}

 

TR.headerError {

background: #ff0000;

}

 

TD.headerError {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

background: #ff0000;

color: #ffffff;

font-weight : bold;

text-align : center;

}

 

TR.headerInfo {

background: #00ff00;

}

 

TD.headerInfo {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

background: #00ff00;

color: #ffffff;

font-weight: bold;

text-align: center;

}

 

TR.footer {

/* background: #bbc3d3; removed for ISM */

}

 

TD.footer {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

/* background: #bbc3d3; removed for ISM */

color: #ffffff;

font-weight: bold;

}

.infoBox {

/* background: #b6b7cb; changed for ISM - optional */

background: #FFFFFF;

}

 

.infoBoxContents {

/* background: #f8f8f9; changed for ISM - optional */

background : #FFFFFF;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

.infoBoxNotice {

background: #FF8E90;

}

 

.infoBoxNoticeContents {

background: #FFE6E6;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TD.infoBoxHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

background: #bbc3d3;

color: #ffffff;

}

 

TD.infoBox, SPAN.infoBox {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd {

background: #f8f8f9;

}

 

TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even {

background: #f8f8f9;

}

 

TABLE.productListing {

border: 1px;

border-style: solid;

border-color: #b6b7cb;

border-spacing: 1px;

}

 

.productListing-heading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #b6b7cb;

color: #FFFFFF;

font-weight: bold;

}

 

TD.productListing-data {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

A.pageResults {

color: #0000FF;

}

 

A.pageResults:hover {

color: #0000FF;

background: #FFFF33;

}

 

TD.pageHeading, DIV.pageHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 20px;

font-weight: bold;

color: #9a9a9a;

}

 

TR.subBar {

background: #f4f7fd;

}

 

TD.subBar {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #000000;

}

 

TD.main, P.main {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

line-height: 1.5;

}

 

TD.smallText, SPAN.smallText, P.smallText {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TD.accountCategory {

font-family: Verdana, Arial, sans-serif;

font-size: 13px;

color: #aabbdd;

}

 

TD.fieldKey {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

TD.fieldValue {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

}

 

TD.tableHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

SPAN.newItemInCart {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #ff0000;

}

 

CHECKBOX, INPUT, RADIO, SELECT {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

}

 

TEXTAREA {

width: 100%;

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

}

 

SPAN.greetUser {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

color: #f0a480;

font-weight: bold;

}

 

TABLE.formArea {

background: #f1f9fe;

border-color: #7b9ebd;

border-style: solid;

border-width: 1px;

}

 

TD.formAreaTitle {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

SPAN.markProductOutOfStock {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

color: #c76170;

font-weight: bold;

}

 

SPAN.productSpecialPrice {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

 

SPAN.errorText {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

 

.moduleRow { }

.moduleRowOver { background-color: #D7E9F7; cursor: pointer; cursor: hand; }

.moduleRowSelected { background-color: #E9F4FC; }

 

.checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }

.checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }

 

/* message box */

 

.messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; }

.messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; }

 

/* input requirement */

.inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }

 

/* ISM Start */

 

.newinfobox_top1 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top2 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top3 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top4 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top5 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top6 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top7 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top8 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top9 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfobox_top10 {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

white-space: nowrap;

}

 

.newinfoBoxContents {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

/* ISM End */

Dont know how the Info Box Manager skin works but it may have added an option to the Admin Page as many of the contributions do which will allow you to change defaults etc. Noticed the additional lines of code added in your code dump that mention ISM.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...