Modifying cart system styles

From Sohowiki
Revision as of 10:59, 22 September 2007 by AjaQ3i (Talk | contribs)
Jump to: navigation, search

art 81 legge 382 del 27 luglio wwo zycie depcze wyobraznie url quito cose fare homepage index soluzione gioco syberia postales religiosas site la donna del mistero index cum teen homepage homepage url nightshade index titoli esame maturita 2004 i m p s samsung 42 d 5 s home cd stampa aspirapolvere cyclone la strano percorso dimage konica san salvador testo agriturismo libri panasonic dvd videoregistratore key xcam url porto petroli di genova url titoli temi maturita testo tradotto leave spike riordino carriera militare quadro fx 4500 index cheb hasni ultime notizie costantino e alessandra sibel kekilli vido dog a dent silverchair nait patas de sexo gratis beowulf traduzione index hotel isabella taormina home mamma ebe paesi unione europea magic knigt rayearth gigi la trottola vol 07 site rex lavastoviglie 45 cm jimmy the gent i falsari di cuba link birkenstock kairo coordinamento precari venezia rdi sat com george pan cosmatos la mazurka di migliavacca sito di buffy in italiano bmx backflips audi a4 2 serie site homepage partituras de ricardo arjona ragazze nudiste link thats so raven ultima serata riproduzione funghi anto e jerry home j fives yuj yu site ufficio settimo torinese more than word cansay home sega bass homepage inno del piave www spiderman it edgeworth maria zen arte scopare canzoni cenerentola url super cazzi finale 2004 www stress di notte it sedena gob mx jahjs hotel dolomiti canazei camper scarpa office excel schermo piatto lcd le15s51b samsung Cassazione sentenza Liceali nude Hotel scalea Corsi post universitari Lesbo movie Kauai vacation rental Serena autieri Gestione sito internet Muscle girls sex Albergo cinque stelle tunisia Audi a3 usata diesel Vacanza marche Biglietto d augurio 30 gennaio Teen pics Mamme porche Agriturismo trentino it Spiaggie nudisti Banca 121 Sensitivi Racconti illustrati erotici Mediasetpremium it Uomo maglione cashmire Fidejussione ipoteca Jason behr Bondage video Case udine Chiabotto Sigla tv Banche che assumono Lago d orta Racchetta tennis head Carrozzerie Residence grottammare Ristorante tipico torino Sex pistols Occhiali da sole miss sixty Hegre Desperate housewife Depressione bipolare Lastminute offerta viaggio Buy cialis Metro ingrosso alimentare moncalieri Foto vagina pelosa Ammortamento mutuo Copiare dvd Palermo ballaro Pornostars italiane Cartina corf Porno trailer free Arredo bagno lombardia Paola senatore Hotel almounia casablanca Svarione anello Residence toscana Sito web firenze Offerta albergo trieste crisi certezza olocausto Auto storiche assicurazione Unicorno Rimborso alpi eagles Masserie otranto Www filminrete it Masturbazione it Vacanza residence calabria Cartina geografica sardegna Scicli Foto amatoriali mature Sfondato culo Piedi porno Piastrella gianni versace Jamba Pornstargals Valeria visconti com Dizionario sinonimo Sugarfree Alex baroni Anversa ristorante Scarpa pallamano adidas stabil invito battesimo Vendita tenda campeggio Sciare Calaio Melita toniolo porno Calendario miriana trevisan Amarone Unipg it Assegni familiari tabelle Puntorossonet Colorado ristorante Impiegate troie El parrucca milano Calendario serie a Download roms n64 Baby bedding Enemas free Tutti testo dei zero assoluto Qsvs Diddl glitter Enciclopedia fimosi Helsinki cose fare ==Overview== Cart system styles are the colors, etc. usually defined in Shoppping Cart > Display Settings. You can override these settings with your template by including a shopping_cart.css file in your template's folder.

Default rules inherited

As of v4.9 r58 your shopping_cart.css will be included in addition to (vs. instead of) the default style rules. This means that the rules in your shopping_cart.css start out inheriting the default rules.

This is cool for two reasons...

  1. You can pick and choose what you want to over-ride with your css. You don't have to start out by copying the entire default stylesheet (below).
  2. When new versions come out that add rules to the default stylesheet you get them automatically and don't have to worry about your templates breaking because their custom shopping_cart.css is missing some new important rule.

How to use your own styles

  1. Copy the default style sheet posted here and paste it into a blank file using your code editor of choice or MS Notepad if you have to.
  2. Save that file as shopping_cart.css
  3. Make whatever changes you want
  4. Upload that file to your template folder

Default cart styles

Your custom shopping_cart.css file will start out by ineriting these rules. Note that both the $OPTIONS and $getCss arrays in the code below pull from the cart_options table. $OPTIONS just pulls the old-style settings, where each db field represent one style value, and $getCss pulls from the new-style settings like background color added in v4.9, where all styles are saved to the "CSS" field in a serialized array.

You CAN use php in your shopping_cart.css if you want to like the default stylesheet does.

#shopping_module table {
   font-family: arial, helvetica, sans-serif;
   font-size: 11px;
   color: #<? echo $getCss['table_textcolor']; ?>;
}

table.parent_table {
   width: 612px;
}

table.shopping-selfcontained_box, #moreinfo-summary, #moreinfo-pricing, #moreinfo-details, #moreinfo-comments, #searchcolumn table, #addcart-current_cart_contents {
   border: 1px solid #ccc;
   background-color: #<? echo $getCss['table_bgcolor']; ?>;
}

#shopping_module th {
   background-color: #<? echo $OPTIONS['DISPLAY_HEADERBG']; ?>;
   color: #<? echo $OPTIONS['DISPLAY_HEADERTXT']; ?>;
   text-align: left;
}

/*--------------------------------------------------------
 pgm-more_information.php
--------------------------------------------------------*/
table#moreinfo-pricing {
   margin-top: 15px;
}
#moreinfo-pricing th {
   text-align: center;
}

table#moreinfo-comments {
   margin-top: 15px;
}


/*--------------------------------------------------------
 prod_search_column.inc
--------------------------------------------------------*/
#searchcolumn-login_or_date td {
   padding: 5px;
   vertical-align: top;
}

#searchcolumn-login_or_date {
   border-bottom: 0px;
   background-color: transparent;
}

#searchcolumn-items_in_cart {
   color: #<? echo $OPTIONS['DISPLAY_CARTTXT']; ?>;
   background-color: #<? echo $OPTIONS['DISPLAY_CARTBG']; ?>;
}


/*--------------------------------------------------------
 pgm-checkout.php
--------------------------------------------------------*/
#checkout-steps th {
   text-align: center;
}


/*--------------------------------------------------------
 prod_billing_shipping.inc
--------------------------------------------------------*/
#billing_shipping_form {
   width: 612px;
}

#billing_shipping_form input.tfield, #billing_shipping_form select {
   font-family: Arial;
   font-size: 9pt;
   width: 275px;
}

/*--------------------------------------------------------
 prod_cust_invoice.inc
--------------------------------------------------------*/
.row-normalbg { background-color: #fff; }
.row-altbg { background-color: #efefef; }
Personal tools