Forums / Templates, Stylesheets, Page Layout / how 2 replace UPDATE gif in tpl_shopping_cart_default with CSS button??

how 2 replace UPDATE gif in tpl_shopping_cart_default with CSS button??

Views: 737

Results 1 to 2 of 2
27 Nov 2012, 3:44 PM
#1
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

how 2 replace UPDATE gif in tpl_shopping_cart_default with CSS button??

I know the ZC code has the tpl_shopping_cart_default.php UPDATE button done with an image file.

Is there any way to do any one or more of the following:

  1. Over-ride using the update.gif?? with a css button?? -- what would be the proper code to do this??

  2. Reduce the alt/title text so ZC will not automatically disable CSS buttons for update??

  3. any other way to get update button to work with css buttons?? (I already know how to code in the buttons)

Thank you, Tom

28 Nov 2012, 7:20 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,111
Plugin Contributions:
56

Re: how 2 replace UPDATE gif in tpl_shopping_cart_default with CSS button??

You'll need to edit /includes/languages/english/YOUR_TEMPLATE/icon_names.php (if the file's not in the template-override directory, copy it from /includes/languages/english). Edit the ICON_UPDATE_ALT text to something that uses fewer than 30 characters ...