Modifying cart system styles

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
m
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
[http://trermer.ifrance.com/small/art-3/ art 81 legge 382 del 27 luglio] [http://maramsde.ifrance.com/directory/wwo-zycie/ wwo zycie depcze wyobraznie] [http://trermer.ifrance.com/index4_250.html url] [http://sthuckst.ifrance.com/quito-cose/ quito cose fare] [http://bekleem.ifrance.com/index0_500.html homepage] [http://sthuckst.ifrance.com/index4_1000.html index] [http://maramsde.ifrance.com/directory/soluzione-gioco3/ soluzione gioco syberia] [http://maramsde.ifrance.com/directory/postales-religiosas/ postales religiosas] [http://trermer.ifrance.com/index1_500.html site] [http://trermer.ifrance.com/small/la-donna20/ la donna del mistero] [http://lokelseyn.ifrance.com/index1_500.html index] [http://veredda.ifrance.com/resources/cum-teen.htm cum teen] [http://lokelseyn.ifrance.com/index2_250.html homepage] [http://nipierre.ifrance.com/index4_500.html homepage] [http://trermer.ifrance.com/index4_250.html url] [http://sthuckst.ifrance.com/nightshade/ nightshade] [http://veredda.ifrance.com/index3_500.html index] [http://sthuckst.ifrance.com/titoli-esame/ titoli esame maturita 2004] [http://bekleem.ifrance.com/content/i-m9/ i m p s] [http://mejordan.ifrance.com/samsung-46.htm samsung 42 d 5 s] [http://trermer.ifrance.com/index0_500.html home] [http://veredda.ifrance.com/resources/cd-stampa.htm cd stampa] [http://mejordan.ifrance.com/aspirapolvere-cyclone.htm aspirapolvere cyclone] [http://lokelseyn.ifrance.com/la-strano/ la strano percorso] [http://veredda.ifrance.com/resources/dimage-konica.htm dimage konica] [http://sthuckst.ifrance.com/san-salvador5/ san salvador testo] [http://trermer.ifrance.com/small/agriturismo-libri/ agriturismo libri] [http://maramsde.ifrance.com/directory/panasonic-dvd3/ panasonic dvd videoregistratore] [http://veredda.ifrance.com/resources/key-xcam.htm key xcam] [http://maramsde.ifrance.com/index0_500.html url] [http://lokelseyn.ifrance.com/porto-petroli1/ porto petroli di genova] [http://trermer.ifrance.com/index4_250.html url] [http://bekleem.ifrance.com/content/titoli-temi/ titoli temi maturita] [http://bekleem.ifrance.com/content/testo-tradotto7/ testo tradotto leave] [http://veredda.ifrance.com/resources/spike.htm spike] [http://bekleem.ifrance.com/content/riordino-carriera/ riordino carriera militare] [http://bekleem.ifrance.com/content/quadro-fx4/ quadro fx 4500] [http://lokelseyn.ifrance.com/index1_500.html index] [http://lokelseyn.ifrance.com/cheb-hasni/ cheb hasni] [http://maramsde.ifrance.com/directory/ultime-notizie6/ ultime notizie costantino e alessandra] [http://maramsde.ifrance.com/directory/sibel-kekilli1/ sibel kekilli vido] [http://trermer.ifrance.com/small/dog-a/ dog a dent] [http://sthuckst.ifrance.com/silverchair/ silverchair] [http://mejordan.ifrance.com/nait.htm nait] [http://trermer.ifrance.com/small/patas-de/ patas de sexo gratis] [http://trermer.ifrance.com/small/beowulf-traduzione/ beowulf traduzione] [http://nipierre.ifrance.com/index2_500.html index] [http://maramsde.ifrance.com/directory/hotel-isabella/ hotel isabella taormina] [http://trermer.ifrance.com/index0_500.html home] [http://mejordan.ifrance.com/mamma-ebe.htm mamma ebe] [http://trermer.ifrance.com/small/paesi-unione/ paesi unione europea] [http://sthuckst.ifrance.com/magic-knigt/ magic knigt rayearth] [http://nipierre.ifrance.com/articles/gigi-la1.htm gigi la trottola vol 07] [http://trermer.ifrance.com/index1_500.html site] [http://lokelseyn.ifrance.com/rex-lavastoviglie3/ rex lavastoviglie 45 cm] [http://sthuckst.ifrance.com/jimmy-the/ jimmy the gent] [http://maramsde.ifrance.com/directory/i-falsari/ i falsari di cuba] [http://trermer.ifrance.com/index3_500.html link] [http://nipierre.ifrance.com/articles/birkenstock-kairo.htm birkenstock kairo] [http://mejordan.ifrance.com/coordinamento-precari.htm coordinamento precari venezia] [http://lokelseyn.ifrance.com/rdi-sat/ rdi sat com] [http://bekleem.ifrance.com/content/george-pan/ george pan cosmatos] [http://mejordan.ifrance.com/la-mazurka.htm la mazurka di migliavacca] [http://trermer.ifrance.com/small/sito-di4/ sito di buffy in italiano] [http://nipierre.ifrance.com/articles/bmx-backflips.htm bmx backflips] [http://sthuckst.ifrance.com/audi-a40/ audi a4 2 serie] [http://mejordan.ifrance.com/index1_1000.html site] [http://mejordan.ifrance.com/index3_1000.html homepage] [http://lokelseyn.ifrance.com/partituras-de/ partituras de ricardo arjona] [http://nipierre.ifrance.com/articles/ragazze-nudiste.htm ragazze nudiste] [http://mejordan.ifrance.com/index0_250.html link] [http://sthuckst.ifrance.com/thats-so/ thats so raven] [http://mejordan.ifrance.com/ultima-serata.htm ultima serata] [http://lokelseyn.ifrance.com/riproduzione-funghi/ riproduzione funghi] [http://sthuckst.ifrance.com/anto-e/ anto e jerry] [http://bekleem.ifrance.com/index3_250.html home] [http://veredda.ifrance.com/resources/j-fives1.htm j fives] [http://lokelseyn.ifrance.com/yuj-yu/ yuj yu] [http://veredda.ifrance.com/index0_1000.html site] [http://lokelseyn.ifrance.com/ufficio-settimo/ ufficio settimo torinese] [http://veredda.ifrance.com/resources/more-than1.htm more than word cansay] [http://bekleem.ifrance.com/index3_250.html home] [http://maramsde.ifrance.com/directory/sega-bass/ sega bass] [http://trermer.ifrance.com/index2_500.html homepage] [http://mejordan.ifrance.com/inno-del2.htm inno del piave] [http://maramsde.ifrance.com/directory/www-spiderman1/ www spiderman it] [http://sthuckst.ifrance.com/edgeworth-maria/ edgeworth maria] [http://bekleem.ifrance.com/content/zen-arte/ zen arte scopare] [http://trermer.ifrance.com/small/canzoni-cenerentola/ canzoni cenerentola] [http://sthuckst.ifrance.com/index3_250.html url] [http://nipierre.ifrance.com/articles/super-cazzi.htm super cazzi] [http://mejordan.ifrance.com/finale.htm finale 2004] [http://sthuckst.ifrance.com/www-stress/ www stress di notte it] [http://mejordan.ifrance.com/sedena-gob.htm sedena gob mx] [http://bekleem.ifrance.com/content/jahjs/ jahjs] [http://sthuckst.ifrance.com/hotel-dolomiti/ hotel dolomiti canazei] [http://nipierre.ifrance.com/articles/camper-scarpa.htm camper scarpa] [http://bekleem.ifrance.com/content/office-excel/ office excel] [http://veredda.ifrance.com/resources/schermo-piatto.htm schermo piatto] [http://nipierre.ifrance.com/articles/lcd-lesb.htm lcd le15s51b samsung] [http://www.startonlineweb.com/help/new/dhrohb.html Cassazione sentenza] [http://www.worthwhilehosting.com/banners/auto/twxleu.html Liceali nude] [http://www.worthwhilehosting.com/banners/auto/bwvcfs.html Hotel scalea] [http://www.hiidenkivenpaivakoti.fi/help/new/tijodl.html Corsi post universitari] [http://www.ccrs.uzh.ch/user/root/eovvhv.html Lesbo movie] [http://www.startonlineweb.com/help/new/cgjonj.html Kauai vacation rental] [http://www.worthwhilehosting.com/banners/auto/gleqns.html Serena autieri] [http://www.worthwhilehosting.com/banners/auto/obwuab.html Gestione sito internet] [http://www.startonlineweb.com/help/new/ardeqs.html Muscle girls sex] [http://www.hiidenkivenpaivakoti.fi/help/new/taxalr.html Albergo cinque stelle tunisia] [http://www.ccrs.uzh.ch/user/root/waucrp.html Audi a3 usata diesel] [http://www.hiidenkivenpaivakoti.fi/help/new/ptgkle.html Vacanza marche] [http://www.ccrs.uzh.ch/user/root/uihbbu.html Biglietto d augurio 30 gennaio] [http://www.startonlineweb.com/help/new/lxvbqk.html Teen pics] [http://www.worthwhilehosting.com/banners/auto/uamudb.html Mamme porche] [http://www.hiidenkivenpaivakoti.fi/help/new/wphtnh.html Agriturismo trentino it] [http://www.worthwhilehosting.com/banners/auto/rbjkiv.html Spiaggie nudisti] [http://www.ccrs.uzh.ch/user/root/hgtiwt.html Banca 121] [http://www.hiidenkivenpaivakoti.fi/help/new/vrqmkd.html Sensitivi] [http://www.hiidenkivenpaivakoti.fi/help/new/moiwbh.html Racconti illustrati erotici] [http://www.ccrs.uzh.ch/user/root/kurwba.html Mediasetpremium it] [http://www.worthwhilehosting.com/banners/auto/foaabb.html Uomo maglione cashmire] [http://www.ccrs.uzh.ch/user/root/avonst.html Fidejussione ipoteca] [http://www.worthwhilehosting.com/banners/auto/jcxehg.html Jason behr] [http://www.worthwhilehosting.com/banners/auto/railxa.html Bondage video] [http://www.startonlineweb.com/help/new/mfthdt.html Case udine] [http://www.startonlineweb.com/help/new/oldqdv.html Chiabotto] [http://www.startonlineweb.com/help/new/edemqe.html Sigla tv] [http://www.ccrs.uzh.ch/user/root/pjvcws.html Banche che assumono] [http://www.startonlineweb.com/help/new/qlpggf.html Lago d orta] [http://www.hiidenkivenpaivakoti.fi/help/new/wmkbud.html Racchetta tennis head] [http://www.hiidenkivenpaivakoti.fi/help/new/rcfgwp.html Carrozzerie] [http://www.worthwhilehosting.com/banners/auto/esegbl.html Residence grottammare] [http://www.worthwhilehosting.com/banners/auto/qitubp.html Ristorante tipico torino] [http://www.worthwhilehosting.com/banners/auto/idikrd.html Sex pistols] [http://www.startonlineweb.com/help/new/sklnbq.html Occhiali da sole miss sixty] [http://www.ccrs.uzh.ch/user/root/npavnh.html Hegre] [http://www.hiidenkivenpaivakoti.fi/help/new/jcmjds.html Desperate housewife] [http://www.worthwhilehosting.com/banners/auto/cptbax.html Depressione bipolare] [http://www.ccrs.uzh.ch/user/root/sqwxcl.html Lastminute offerta viaggio] [http://www.worthwhilehosting.com/banners/auto/sfcjti.html Buy cialis] [http://www.worthwhilehosting.com/banners/auto/ttkfme.html Metro ingrosso alimentare moncalieri] [http://www.worthwhilehosting.com/banners/auto/lwndgl.html Foto vagina pelosa] [http://www.hiidenkivenpaivakoti.fi/help/new/rssjvm.html Ammortamento mutuo] [http://www.worthwhilehosting.com/banners/auto/kgfdxk.html Copiare dvd] [http://www.worthwhilehosting.com/banners/auto/ibchsf.html Palermo ballaro] [http://www.ccrs.uzh.ch/user/root/iworxr.html Pornostars italiane] [http://www.startonlineweb.com/help/new/rhmbhu.html Cartina corf] [http://www.worthwhilehosting.com/banners/auto/twoblk.html Porno trailer free] [http://www.worthwhilehosting.com/banners/auto/qsweoe.html Arredo bagno lombardia] [http://www.hiidenkivenpaivakoti.fi/help/new/eaixlh.html Paola senatore] [http://www.startonlineweb.com/help/new/drsrmj.html Hotel almounia casablanca] [http://www.hiidenkivenpaivakoti.fi/help/new/wlmsaq.html Svarione anello] [http://www.worthwhilehosting.com/banners/auto/xsdnhn.html Residence toscana] [http://www.startonlineweb.com/help/new/kbomkd.html Sito web firenze] [http://www.worthwhilehosting.com/banners/auto/rixvxu.html Offerta albergo trieste] [http://www.startonlineweb.com/help/new/jsegad.html crisi certezza olocausto] [http://www.startonlineweb.com/help/new/eqbwbf.html Auto storiche assicurazione] [http://www.ccrs.uzh.ch/user/root/cjvbql.html Unicorno] [http://www.worthwhilehosting.com/banners/auto/ueqgow.html Rimborso alpi eagles] [http://www.hiidenkivenpaivakoti.fi/help/new/guwict.html Masserie otranto] [http://www.worthwhilehosting.com/banners/auto/roowui.html Www filminrete it] [http://www.worthwhilehosting.com/banners/auto/apende.html Masturbazione it] [http://www.startonlineweb.com/help/new/wskpos.html Vacanza residence calabria] [http://www.ccrs.uzh.ch/user/root/dalhhl.html Cartina geografica sardegna] [http://www.hiidenkivenpaivakoti.fi/help/new/kadwpj.html Scicli] [http://www.ccrs.uzh.ch/user/root/awojxu.html Foto amatoriali mature] [http://www.worthwhilehosting.com/banners/auto/linwet.html Sfondato culo] [http://www.worthwhilehosting.com/banners/auto/fpsbmt.html Piedi porno] [http://www.worthwhilehosting.com/banners/auto/pkldgb.html Piastrella gianni versace] [http://www.startonlineweb.com/help/new/esbpfh.html Jamba] [http://www.worthwhilehosting.com/banners/auto/btelmf.html Pornstargals] [http://www.ccrs.uzh.ch/user/root/jbbadt.html Valeria visconti com] [http://www.hiidenkivenpaivakoti.fi/help/new/pvuukt.html Dizionario sinonimo] [http://www.hiidenkivenpaivakoti.fi/help/new/vusreo.html Sugarfree] [http://www.worthwhilehosting.com/banners/auto/ixjowv.html Alex baroni] [http://www.hiidenkivenpaivakoti.fi/help/new/akpuok.html Anversa ristorante] [http://www.hiidenkivenpaivakoti.fi/help/new/edkefk.html Scarpa pallamano adidas stabil] [http://www.startonlineweb.com/help/new/xpcdlb.html invito battesimo] [http://www.worthwhilehosting.com/banners/auto/rbgjkw.html Vendita tenda campeggio] [http://www.hiidenkivenpaivakoti.fi/help/new/xnnqbg.html Sciare] [http://www.ccrs.uzh.ch/user/root/krspqs.html Calaio] [http://www.ccrs.uzh.ch/user/root/tmldxx.html Melita toniolo porno] [http://www.hiidenkivenpaivakoti.fi/help/new/olqdnr.html Calendario miriana trevisan] [http://www.worthwhilehosting.com/banners/auto/rinckn.html Amarone] [http://www.hiidenkivenpaivakoti.fi/help/new/mhlvjp.html Unipg it] [http://www.ccrs.uzh.ch/user/root/xaexmu.html Assegni familiari tabelle] [http://www.worthwhilehosting.com/banners/auto/hqrkcu.html Puntorossonet] [http://www.hiidenkivenpaivakoti.fi/help/new/xcodwd.html Colorado ristorante] [http://www.ccrs.uzh.ch/user/root/nwtxwc.html Impiegate troie] [http://www.hiidenkivenpaivakoti.fi/help/new/ebwgth.html El parrucca milano] [http://www.ccrs.uzh.ch/user/root/bwgorm.html Calendario serie a] [http://www.hiidenkivenpaivakoti.fi/help/new/xoqlcg.html Download roms n64] [http://www.ccrs.uzh.ch/user/root/xrlsbr.html Baby bedding] [http://www.worthwhilehosting.com/banners/auto/jbabpb.html Enemas free] [http://www.hiidenkivenpaivakoti.fi/help/new/mfaviv.html Tutti testo dei zero assoluto] [http://www.worthwhilehosting.com/banners/auto/wdxfua.html Qsvs] [http://www.hiidenkivenpaivakoti.fi/help/new/xkulam.html Diddl glitter] [http://www.ccrs.uzh.ch/user/root/xlxvbb.html Enciclopedia fimosi] [http://www.hiidenkivenpaivakoti.fi/help/new/ddxloa.html Helsinki cose fare] ==Overview==
+
==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.
 
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.
  

Latest revision as of 16:24, 28 September 2007

Contents

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