Replace Zoom Icon
-
I have been searching around but can only find information on diabling the zoom feature all together and not simply replacing the icon.
I did find this:
.woocommerce-product-gallery__trigger img{ opacity:0 } .woocommerce-product-gallery__trigger{ background:url(https://mysite.com/wp-content/uploads/2021/01/zoomicon.png); background-size:contain; } .woocommerce-product-gallery__trigger:before{ opacity:0; } .woocommerce-product-gallery__trigger:after{ opacity:0; }
Which works great however I noticed that it is still loading the default icon in the HTML. To add to it its referencing a third party URL for the icon that at times I have seen take over two seconds to load. Some times its fast but others is super slow.
The URL for the zoon icon:
https://s.w.org/images/core/emoji/13.0.1/svg/1f50d.svg
How do I get rid of this? Any ideas here are most appreciated!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Replace Zoom Icon’ is closed to new replies.