Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Add to Cart always display on mobile but hide/hover on desktop

Home / Forums / Ascend Theme / Add to Cart always display on mobile but hide/hover on desktop

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
September 21, 2020 at 4:41 am

Hi,
I was trying to see if I could have the add-to-cart hover function work only while on a desktop, or rather a device with a pointer/mouse, but always show if you’re on a touchscreen/mobile device.

I’ve been thinking I could use something like:

@media
(hover:none) {
css in here...
}

but before I even start with that I’ve been trying to identify the classes to target but I’m not winning.

Dale

  • The forum ‘Ascend Theme’ is closed to new topics and replies.