Pagina 1 di 1

CSS.. mi sta facendo impazzire..

Inviato: 21/07/2008, 16:41
da XaRaBaS
Ragazzi è un'intera mattinata che cerco di risolvere questo problema.. ma sinceramente non ci sto riuscendo.. vi spiego..tramite i css cambio i colori delle scritte nel sito.. quello che devo cambiare è..

il colore nel box

LOG IN
Categorie
Produttori
etc

in nero..

e allora sono andato a modificare

Codice: Seleziona tutto

BODY {
  color:#000000;
  margin: 0px;
  text-align:center;
  background: url('images/template/bg.gif') repeat-x #060606;
}
e mi cambia il colore del carattere del box.. ma purtroppo mi va a cambiare anche
qui:
Immagine

se notate bene la descrizione risulta anche nera.. e anche quando vado ad aprire dettagli..

Vi posto il codice css sperando di un aiuto:

Codice: Seleziona tutto

/*
  $Id: stylesheet.css 1739 2007-12-20 00:52:16Z hpdl $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px;color:#666666;}
.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 {
  color:#000000;
  margin: 0px;
  text-align:center;
  background: url('images/template/bg.gif') repeat-x #060606;
}
#container {
width:838px;
margin:auto;
color:#000000;
}
A {
  color: #ffffff;
  text-decoration: none;
}

A:hover {
  color: #666666;
  text-decoration: underline;
}

FORM {
	display: inline;
	}

TR.header {
  background: #ffffff;
}

TR.headerNavigation {
  background: #bbc3d3;
}

TD.headerNavigation {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  background: #bbc3d3;
  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: #ffffff;
}

TD.footer {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color: #1a1a1a;
  font-weight: bold;
}

.infoBox {
  background: #232424;
  color: #FFFFFF;
}

.infoBoxContents {
  background: #161515;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color:#CCCCCC
}
.contentBoxContents {
  background: #161515;
  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;
  }

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: #161515;
  color:#CCCCCC;
}

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: #161515;
  color:#CCCCCC;
}

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: #232424;
  color: #FFFFFF;
  font-weight: bold;
}

TD.productListing-data {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color: #FFFFFF;
}

A.pageResults {
  color: #24719f;
}

A.pageResults:hover {
  color: #999999;
}

TD.pageHeading, DIV.pageHeading {
  font-family: Verdana, Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

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;
  color:#999999;
  font-weight: bold;
}
.smallText a {
color:#666666;
text-decoration:underline;
}
.smallText a:hover {
color:#999999;
text-decoration:none;
}
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; }

/* TEMPLATE */
.tt1 {background: url('images/template/top1.gif') no-repeat;width:10px;height:48px;}
.tt2 {background: url('images/template/top2.gif') repeat-x;width:818px;height:48px;}
.tt2 {color:#ffffff;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;}
.tt2 a {color:#ffffff;}
.tt2 a:hover {color:#1a1a1a;}
.tt3 {background: url('images/template/top3.gif') no-repeat;width:10px;height:48px;}
/* BOX */
.b1 {background: url('images/template/box/b1.gif') no-repeat;width:10px;height:44px;}
.b2 {background: url('images/template/box/b2.gif') repeat-x;height:44px;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;font-weight:bold;}
.b3 {background: url('images/template/box/b3.jpg') no-repeat;width:10px;height:44px;}

.b4 {background: url('images/template/box/b4.gif') repeat-y;width:10px;}
.b9 {background: url('images/template/box/b9.gif') repeat-y;width:10px;}

.b5 {background: url('images/template/box/b5.gif') no-repeat;width:10px;height:1px;}
.b7 {background: url('images/template/box/b7.gif') repeat-x;height:1px;}
.b8 {background: url('images/template/box/b8.gif') no-repeat;width:10px;height:1px;}

#box {
padding:10px;
}
#box a {
color:#999999;
text-decoration:none;
font-weight: bold;

}
#box a:hover {
color:#ffffff;
text-decoration:underline;
}

#new_products {
padding-top:10px;
padding-bottom:10px;
}
#new_products a {
color:#24719f;
text-decoration:none;
}
#new_products a:hover {
color:#999999;
}

/*---------------------------*/
/* Tree and Plain Menu Style */
/*---------------------------*/

.treemenudiv	{     /* Behaviour of tree/plain menu item - leave as is for proper performance */
	display: block;
	white-space: nowrap;
}


.phplmbodytable { /* Class of table cells containing plain menus */

}

.phplmnormal {     /* Font size & color of unlinked menu items */
	color: #000000;
	font-size: 10px;	
	text-decoration: none;	
}


a.phplm:link, a.phplm:visited	{      /* Font color, style of linked & visited menu items */
	color: #99CC33;
	font-size: 10px;	
	text-decoration: none;	
}


a.phplm:hover	{      /* Font color, style of menu items when hovered over */
	color: #841212;
	background-color: #ccc;
	font-size: 10px;	
	text-decoration: none;	
}

a.phplm:active	{      /* Font size & color of menu items when clicked */
	color: #ff0000;
	font-size: 10px;	
	text-decoration: none;	
}

.dmselected {   /* Style overide for selected category tree */
    background-color: #ccc;
		font-weight: bold;
}

/* New Products Scroller */

#pscroller_np {
height: 150px;
border: 0px;
padding: 5px;
}

.pscroller_c_np {
  font-family: sans-serif;
  font-size: 11px;
  line-height: 1.5;
}
Grazie :)

Inviato: 21/07/2008, 17:23
da dynamo
non devi cambiare i valori di BODY perchè cambi le impostazioni generali..


devi andare a vedere le classi dei box che hai te... dovrebbero essere quello con infoBox :wink:

Inviato: 21/07/2008, 21:31
da XaRaBaS
Grazie per l'info.. domani provo.. sinceramente 1giornata persa per sta cosa mi ha stancato...

Grazie come sempre.. ;)

Farò sapere le novità...