Forums / Bug Reports / Responsive classic template pill style buttons appearing on mobile devices

Responsive classic template pill style buttons appearing on mobile devices

Views: 864

Results 1 to 2 of 2
16 Oct 2021, 10:42 AM
#1
richard7315 avatar

richard7315

New Zenner

Join Date:
Jul 2017
Location:
West Midlands, UK
Posts:
51
Plugin Contributions:
1

Responsive classic template pill style buttons appearing on mobile devices

Hi,
As mentioned in the responsive classic template support thread - CSS buttons appear correctly when using mobile emulators (such as firefox or chrome devtools) but lighter coloured ‘pill’ style buttons are displaying on iphone/ipad mobile devices.

This appears to be a bug – please see below a possible fix (many thanks to janks and rlexyd for the code).

Add the following to your stylesheet.css

input.submit_button, input.cssButtonHover { -webkit-appearance: none; }

https://www.zen-cart.com/showthread.php?219735-Responsive-Classic-(built-in-to-Zen-Cart-v1-5-5)-Support-Thread&p=1383119#post1383119

Hopefully a fix can be included in future versions of Zen Cart.

16 Oct 2021, 11:40 AM
#2
lat9 avatar

lat9

Administrator

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

Re: Responsive classic template pill style buttons appearing on mobile devices

richard7315:

Hi,
As mentioned in the responsive classic template support thread - CSS buttons appear correctly when using mobile emulators (such as firefox or chrome devtools) but lighter coloured ‘pill’ style buttons are displaying on iphone/ipad mobile devices.

This appears to be a bug – please see below a possible fix (many thanks to janks and rlexyd for the code).

Add the following to your stylesheet.css

input.submit_button, input.cssButtonHover { -webkit-appearance: none; }

https://www.zen-cart.com/showthread.php?219735-Responsive-Classic-%28built-in-to-Zen-Cart-v1-5-5%29-Support-Thread&p=1383119#post1383119

Hopefully a fix can be included in future versions of Zen Cart.
... or Safari. I'm finding more and more incompatibilities (like https://www.w3schools.com/tags/att_img_loading.asp) coming from that browser.