Modifying cart system styles

From Sohowiki
Revision as of 04:45, 16 December 2006 by 81.177.14.26 (Talk)
Jump to: navigation, search

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



matter penis size woman does forum matter penis size penis size matter does penis size matter does penis size matter to woman does matter penis really size penis preference size woman matter penis size woman woman and penis size penis size and what woman like cock size penis size woman want woman talk about penis size discuss penis size woman opinion penis size woman womens opinion on penis size ideal penis size penis size prefer woman penis size view woman penis size survey woman penis size what woman want what woman think about penis size penis say size woman ideal penis size woman penis enlargement exercise program enlargement exercise free penis program enlargement exercise free penis program exercise free penis program penis exercise program penis enlargement program penis enlargement exercise program natural pennis enlargement exercise free penis program free pennis enlargement free penis enlargement program penis enlargement program free penis enlargement exercise program penis stretching exercise penis stretching exercise penis pills size exercise free penis stretching pennis enlargement pills pennis stretching improve penis length increase penis length penis enlargement traction device pennis pills enlargment pennis pills penis enlargement device exercise free penis stretching pennis stretching penis enlargement device stretching penis lengthening exercise device enlargement make penis enlarge penis length penis enlargement stretcher penile stretching penis enlargement device stretching penis enlargement device home made penis enlargement device the best penis enlargement system device enlargement make penis homemade penis enlargement device device enlargement penile the best enlargement penis device penis enlargement traction device penis enlargement forum enlargement forum penis pills does forum matter penis size enlargement forum penis pills enlargement forum penis pill free penis enlargement forum exercise forum penis enlargement forum free matter penis size exercise forum penis penis enlargement forum enlargement forum free matter penis size free penis enlargement forum enlargement forum penis pill penis size forum penis pills forum penis pill forum penis enlargement

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