Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 General
 Off topic, News and Updates
 Button style and latest updater
Author « Topic »  

Vince
Administrator

Spain
43318 Posts

Posted - 01/16/2026 :  11:20:30  
Some WordPress themes set button styles using...

input[type="button"]

This means that in ectcart.css in order to set the default values for cart buttons we now use...

input[type="button"].ectbutton, input[type="submit"].ectbutton

However this now means that in your site style sheet, if you have just have input.ectbutton the default from ectcart.css will be used instead. If this is the case, (for instance your buttons are displaying as the default blue color) just search in your style sheet for...

input.ectbutton

...and replace that with...

input[type="button"].ectbutton, input[type="submit"].ectbutton

If you have also changed the hover values then search for...

input.ectbutton:hover

...and replace that with...

input[type="button"].ectbutton:hover,input[type="submit"].ectbutton:hover

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Vince
Administrator

43318 Posts

Posted - 01/20/2026 :  04:43:54  
I had a rethink about this and as of a couple of years ago we have been moving to the use of HTML <button> tags rather than <input type="button"> because it allows more flexibility for the use of FontAwesome glyphs in the button. So given that this issue about button styles could affect a lot of people I've gone through the cart and it now uses <button> tags exclusively in the v7.9 Advanced Release. You do need a definition for "button.ectbutton" as well as the legacy "input.ectbutton" (and that's been the case for a couple of years now) but it removes the necessity for the changes mentioned above.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000