diff options
author | dominik-zeglen <flesz3@o2.pl> | 2017-10-04 16:29:29 +0200 |
---|---|---|
committer | dominik-zeglen <flesz3@o2.pl> | 2017-10-04 16:29:29 +0200 |
commit | bb298090968458dd7b45c8dac536e3bf8fc36508 (patch) | |
tree | 1cb2df59531c404f0628cda09334b8ecc27c2f59 /templates | |
parent | 0d265088dd5e8d583c4c379ab3a55c5eb1ae4a47 (diff) | |
download | saleor-frontend-bb298090968458dd7b45c8dac536e3bf8fc36508.tar.gz saleor-frontend-bb298090968458dd7b45c8dac536e3bf8fc36508.tar.bz2 saleor-frontend-bb298090968458dd7b45c8dac536e3bf8fc36508.zip |
Revert product grid from 4 to 3 columns
Diffstat (limited to 'templates')
-rw-r--r-- | templates/category/_items.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/category/_items.html b/templates/category/_items.html index 78b5da2f..79b32abd 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 %} |