View Single Post
  #5  
Old 07-30-2015, 08:03 PM
Rick G's Avatar
Rick G Rick G is offline
Ecwid Team
 
Join Date: Jun 2014
Posts: 1,270
Default

Quote:
Originally Posted by Richard Thomason View Post
Actually, took a look at IE (ver. 11.0.9600.17905) and with or without the code added, there are no spinner controls showing at all. That code does work for Chrome however. There does not appear to be any updates not already installed for IE, so unsure what else to check.
The code that I provided was meant exclusively for Chrome, the prefix -webkit applies to Chrome browser only, as far as I know.

I did a little research and it turns out that the number field behaves differently in different browsers. In IE for example, there are no such controls on how to increase or decrease the number value, so this field behaves just like a usual text input. In Firefox the controls display all the time, whether on hover or not, and in Chrome the controls appear on hover.

So I provided a code so that the controls display at all times for Chrome browser. As I can see, there is no way to add controls for the number input using CSS, but possibly you will be able to do something using custom programming and Ecwid Javascript API: http://help.ecwid.com/customer/porta...javascript-api

You can find out move about this here: https://css-tricks.com/numeric-input...wser-defaults/
Thank you.
__________________
Ecwid API and App Market Team
Ecwid Developer Website