Skip to content

Instantly share code, notes, and snippets.

@tdmrhn
Created January 13, 2026 17:18
Show Gist options
  • Select an option

  • Save tdmrhn/86bc61c738d5a0beceeddc256eaa3cf7 to your computer and use it in GitHub Desktop.

Select an option

Save tdmrhn/86bc61c738d5a0beceeddc256eaa3cf7 to your computer and use it in GitHub Desktop.
Blocksy 2 Product Card Action Icons Replace
/* Product Card Wishlist Icon Change */
.ct-wishlist-button-archive .ct-icon-container svg {
display: none;
}
.ct-wishlist-button-archive .ct-icon-container:before {
content: '';
width: 15px;
height: 15px;
background-color: currentColor;
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 3.5a2.5 2.5 0 0 0-5 0V4h5zm1 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0M14 14V5H2v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1M8 7.993c1.664-1.711 5.825 1.283 0 5.132-5.825-3.85-1.664-6.843 0-5.132'/%3E%3C/svg%3E");
}
/* Product Card Compare Icon Change */
.ct-compare-button-archive .ct-icon-container svg {
display: none;
}
.ct-compare-button-archive .ct-icon-container:before {
content: '';
width: 15px;
height: 15px;
background-color: currentColor;
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5m14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5'/%3E%3C/svg%3E");
}
/* Product Card Quick View Icon Change */
.ct-open-quick-view .ct-icon-container svg {
display: none;
}
.ct-open-quick-view .ct-icon-container:before {
content: '';
width: 15px;
height: 15px;
background-color: currentColor;
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4m2.625.547a3 3 0 0 0-5.584.953H.5a.5.5 0 0 0 0 1h.541A3 3 0 0 0 7 8a1 1 0 0 1 2 0 3 3 0 0 0 5.959.5h.541a.5.5 0 0 0 0-1h-.541a3 3 0 0 0-5.584-.953A2 2 0 0 0 8 6c-.532 0-1.016.208-1.375.547M14 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0'/%3E%3C/svg%3E");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment