diff --git a/frappe/website/web_template/section_with_cards/section_with_cards.html b/frappe/website/web_template/section_with_cards/section_with_cards.html index 1b094fbd8e..d0eb164288 100644 --- a/frappe/website/web_template/section_with_cards/section_with_cards.html +++ b/frappe/website/web_template/section_with_cards/section_with_cards.html @@ -11,9 +11,10 @@ }) -%}
- {%- if image -%} - {{ frappe.render_template('templates/includes/image_with_blur.html', { + {%- if image -%} + {{ frappe.render_template('templates/includes/image_with_blur.html', { "src": image, + "class": ["card-img-top"] }) }} {%- endif -%}