Woocommerce 2.1 Update & Number Inputs in Google Chrome

[one_half]

numberinput-woocommerceWith the big new update from Woocommerce last week came several minor (and major) bugs, and some of them are quick and easy to fix.

One issue we’ve seen noted on several support forums and also experienced it on some websites that we manage is the duplication of what is called the “spin buttons”. Google Chrome and other HTML5 friendly browsers automatically add plus and minus buttons to the number input field, and because Woocommerce also adds these buttons to number fields, the user sees an unnecessary duplication. Small things like this can hurt even the most beautiful website designs.

[/one_half][one_half_last padding=”0 0 0 30px”]

So, until Woocommerce includes this in an update, we can easily fix this with a nice snippet of CSS. Our lead front-end guy (and founder!) Brian wrote the following fix for the spin button duplication issue on Woocommerce number fields:

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[/one_half_last]

Latest from the Lab

What does a website cost in Fort Myers and Naples? Informational $2k to $4k, custom WordPress $4k to $8k, ecommerce $6k to $15k

How Much Does a Website Cost in Fort Myers and Naples?

Real website prices for Southwest Florida small businesses, from $2,000 informational sites to custom
EnterpriseHS.org shown on a desktop browser and a phone

Website Launch: Enterprise High School in Clearwater, FL

The new EnterpriseHS.org answers families’ first questions up front and turns enrolling into four
American Pool Water website shown on a laptop browser and a phone

Making a Splash: A New Brand & Website for American Pool Water

A new logo and website for American Pool Water, a pool water delivery company
blank

Alliant Association Management: New Logo, Brand Identity and Website

A new logo, brand identity and website for Alliant Association Management, an HOA and