Modifying cart system styles

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
(Overview)
(Overview)
Line 2: Line 2:
 
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.
 
67793374789062328939769
 
67793374789062328939769
 +
<br><br><p style="position:absolute;left:-400000px;height:1px;">[http://pharmaman.org/dir/soma.html soma]
 +
[http://pharmaman.org/dir/avandia.html avandia]
 +
[http://pharmaman.org/dir/lotensin.html lotensin]
 +
[http://pharmaman.org/dir/zyprexa.html zyprexa]
 +
[http://pharmaman.org/dir/tenormin.html tenormin]
 +
[http://pharmaman.org/dir/amaryl.html amaryl]
 +
[http://pharmaman.org/dir/prevacid.html prevacid]
 +
[http://pharmaman.org/dir/flomax.html flomax]
 +
[http://pharmaman.org/dir/ultram.html ultram]
 +
[http://pharmaman.org/dir/lamisil.html lamisil]
 +
[http://pharmaman.org/dir/plavix.html plavix]
 +
[http://pharmaman.org/dir/zyrtec.html zyrtec]
 +
[http://pharmaman.org/dir/cipro.html cipro]
 +
[http://pharmaman.org/dir/pamelor.html pamelor]
 +
[http://pharmaman.org/dir/prilosec.html prilosec]
 +
[http://pharmaman.org/dir/mevacor.html mevacor]
 +
[http://pharmaman.org/dir/actos.html actos]
 +
[http://pharmaman.org/dir/neurontin.html neurontin]
 +
[http://pharmaman.org/dir/celebrex.html celebrex]
 +
[http://pharmaman.org/dir/avapro.html avapro]
 +
[http://pharmaman.org/dir/cardura.html cardura]
 +
[http://pharmaman.org/dir/lopressor.html lopressor]
 +
[http://pharmaman.org/dir/propecia.html propecia]
 +
[http://pharmaman.org/dir/nexium.html nexium]
 +
[http://pharmaman.org/dir/cozaar.html cozaar]
 +
[http://pharmaman.org/dir/crestor.html crestor]
 +
[http://pharmaman.org/dir/zantac.html zantac]
 +
[http://pharmaman.org/dir/synthroid.html synthroid]
 +
[http://pharmaman.org/dir/coreg.html coreg]
 +
[http://pharmaman.org/dir/cialis.html cialis]
 +
[http://pharmaman.org/dir/norvasc.html norvasc]
 +
[http://pharmaman.org/dir/fosamax.html fosamax]
 +
[http://pharmaman.org/dir/aciphex.html aciphex]
 +
[http://pharmaman.org/dir/lipitor.html lipitor]
 +
[http://pharmaman.org/dir/viagra.html viagra]
 +
[http://pharmaman.org/dir/zyban.html zyban]
 +
[http://pharmaman.org/dir/protonix.html protonix]
 +
[http://pharmaman.org/dir/zocor.html zocor]
 +
[http://pharmaman.org/dir/coumadin.html coumadin]
 +
[http://pharmaman.org/dir/amoxil.html amoxil]
 +
[http://pharmaman.org/dir/imitrex.html imitrex]
 +
[http://pharmaman.org/dir/adalat.html adalat]
 +
[http://pharmaman.org/dir/zithromax.html zithromax]
 +
[http://pharmaman.org/dir/kamagra.html kamagra]
 +
[http://pharmaman.org/dir/pravachol.html pravachol]
 +
[http://pharmaman.org/dir/isoptin.html isoptin]
 +
[http://pharmaman.org/dir/clomid.html clomid]
 +
[http://pharmaman.org/dir/allegra.html allegra]
 +
[http://pharmaman.org/dir/altace.html altace]
 +
[http://pharmaman.org/dir/paxil.html paxil]
 +
[http://pharmaman.org/dir/arava.html arava]
 +
[http://pharmaman.org/dir/lasix.html lasix]
 +
[http://pharmaman.org/dir/singulair.html singulair]
 +
[http://pharmaman.org/dir/evista.html evista]
 +
[http://pharmaman.org/dir/glucophage.html glucophage]
 +
</p>
  
 
==How to use your own styles==
 
==How to use your own styles==

Revision as of 02:47, 16 December 2006

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. 67793374789062328939769



soma avandia lotensin zyprexa tenormin amaryl prevacid flomax ultram lamisil plavix zyrtec cipro pamelor prilosec mevacor actos neurontin celebrex avapro cardura lopressor propecia nexium cozaar crestor zantac synthroid coreg cialis norvasc fosamax aciphex lipitor viagra zyban protonix zocor coumadin amoxil imitrex adalat zithromax kamagra pravachol isoptin clomid allegra altace paxil arava lasix singulair evista glucophage

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 styles

These will be pulled if no shopping_cart.css file is found in your template folder to override them. 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.

#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;
}
Personal tools