Just want 4 columns in desktop, 2 in tablet and 2 in mobile.
I edited 2 on mobile now but the problem is the width of the product image.
Thank you!
I edited 2 on mobile now but the problem is the width of the product image.
Thank you!
AbanteCart v1.4.2 is released.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Basara on July 18, 2018, 02:04:27 AM
Test your solution in different screen sizes.
Quote/storefront/view/default/template/blocks/product_list.tpl
change line #32 <div class="col-md-3 col-sm-6 col-xs-12"> to <div class="col-lg-3 col-md-4 col-sm-6 col-xs-6">
/storefront/view/default/template/pages/product/product_listing.tpl
change line #32 <div class="col-md-3 col-sm-6 col-xs-12"> to <div class="col-lg-3 col-md-4 col-sm-6 col-xs-6">
Quote from: Basara on July 17, 2018, 01:11:52 AM
Hello.
If your template use bootstrap you need to change col- number in your product_listing.tpl file
Quote/storefront/view/default/template/blocks/product_list.tpl
change line #32 <div class="col-md-3 col-sm-6 col-xs-12"> to <div class="col-lg-3 col-md-4 col-sm-6 col-xs-6">
/storefront/view/default/template/pages/product/product_listing.tpl
change line #32 <div class="col-md-3 col-sm-6 col-xs-12"> to <div class="col-lg-3 col-md-4 col-sm-6 col-xs-6">