Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Revert product grid from 4 to 3 columns

dominik-zeglenbb2980909684
diff --git a/templates/category/_items.html b/templates/category/_items.html
index 78b5da2fa1..79b32abd27 100644
--- a/templates/category/_items.html
+++ b/templates/category/_items.html
@@ -6,20 +6,20 @@
{% load get_thumbnail from product_images %}
{% for product, availability in products %}
-<div class="col-6 col-lg-3 product-list">
+<div class="col-6 col-lg-4 product-list">
<script type="application/ld+json">
{% autoescape off %}{% product_availability_schema product %}{% endautoescape %}
</script>
<a href="{{ product.get_absolute_url }}" class="link--clean">
<div class="text-center">
<div>
- <img class="img-responsive"
- src="{% product_first_image product method="crop" size="255x255" %}"
+ <img class="img-responsive"
+ src="{% product_first_image product method="crop" size="255x255" %}"
srcset="{% product_first_image product method="crop" size="255x255" %} 1x, {% product_first_image product method="crop" size="510x510" %} 2x"
alt="">
<span class="product-list-item-name" title="{{ product }}">{{ product }}</span>
</div>
-
+
<div class="panel-footer">
{% if availability.available %}
{% price_range availability.price_range %}