You've already forked wc-bootstrap
Fix product card images overlapping top border-radius
Add overflow-hidden to the card <article> so the card's own border-radius clips the product image at the top corners. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#}
|
||||
|
||||
<div class="col">
|
||||
<article class="card h-100 shadow-sm product">
|
||||
<article class="card h-100 shadow-sm overflow-hidden product">
|
||||
{{ do_action('woocommerce_before_shop_loop_item') }}
|
||||
|
||||
{# Product image with sale badge overlay #}
|
||||
|
||||
Reference in New Issue
Block a user