skip to Main Content

Add Zoom Icon to WooCommerce Product Gallery

.woocommerce-product-gallery__image {
    position: relative;

.woocommerce-product-gallery__image::before {
    font-family: "ticons";
    content: "\f00e"; /* change this to the icon you want - see theme icons docs*/
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 99;
    color: #fff;
    background: #000;
    border-radius: 9999px;
    height: 30px;
    width: 30px;
    font-size: 14px;
    cursor: pointer;
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top