Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Using CSS Buttons yet still see graphic buttons on some pages

Using CSS Buttons yet still see graphic buttons on some pages

Locked

Views: 1,897

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Jul 2007, 9:44 PM
#1
newbie73 avatar

newbie73

New Zenner

Join Date:
Jul 2007
Posts:
8
Plugin Contributions:
0

Using CSS Buttons yet still see graphic buttons on some pages

I set the Use CSS Buttons to TRUE in the Admin -> Config -> Layout Settings

With the category/product listing, I see normal HTML buttons. When I view the shopping cart, I see graphic buttons again. Any idea what could be causing this?

23 Jul 2007, 9:47 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,608
Plugin Contributions:
0

Re: Using CSS Buttons yet still see graphic buttons on some pages

Which ones in particular?

23 Jul 2007, 11:33 PM
#3
newbie73 avatar

newbie73

New Zenner

Join Date:
Jul 2007
Posts:
8
Plugin Contributions:
0

Re: Using CSS Buttons yet still see graphic buttons on some pages

the Update Quantity button that shows up in the cart_quantity FORM is that one I am currently having issues with.

24 Jul 2007, 11:51 AM
#4
newbie73 avatar

newbie73

New Zenner

Join Date:
Jul 2007
Posts:
8
Plugin Contributions:
0

Re: Using CSS Buttons yet still see graphic buttons on some pages

Found the problem. the zc_button_submit function (something like this), there is a check on the strlen of each button's ALT text. If the ALT text is > 30 characters, the image is used instead of a FORM button. Changing the ALT text to be < 30 characters solved the problem. Thanks!

  • Luis