Page 1 of 1

how to set width and height of articles?

Posted: Mon Mar 11, 2019 6:57 pm
by philodance
how can i set width and height of articles on https://shop.bn-service.ch (featured/suggested products)?
when i set the values for width and height in the backend (extensions/extensions/modules) - this values are ignored. but if i change the products, i can see it in the frontend.

Re: how to set width and height of articles?

Posted: Tue Mar 12, 2019 1:12 pm
by MarketInSG
Because you are using bootstrap, the images are scaled to fit into the width of your website.

Re: how to set width and height of articles?

Posted: Tue Mar 12, 2019 3:27 pm
by letxobnav
suggest to reduce the number of columns to 3 per row (or reduce the number of columns for the left menu) and lose the description when in grid view as that looks terrible.

Re: how to set width and height of articles?

Posted: Tue Mar 12, 2019 3:34 pm
by letxobnav
Your category view is much better in that sense.
But make sure that your number of products per page is dividable by 3 (columns) or you end up with empty boxes at the end.

Re: how to set width and height of articles?

Posted: Thu Mar 14, 2019 12:14 am
by philodance
well... when i click a menu item on left side, i get three columns with products. that looks great. but on the homepage (cliking logo top left), there are four columns ;-(
how can i correct this (i also want here only three columns).

Re: how to set width and height of articles?

Posted: Thu Mar 14, 2019 1:27 am
by cyclops12
If that Recommended module is the same as the Featured module (just renamed) then goto
catalog/view/theme/YOUR_THEME/template/extension/module/featured.twig and find

Code: Select all

<div class="product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12">
And change to

Code: Select all

<div class="product-layout col-lg-4 col-md-4 col-sm-6 col-xs-12">
This should give you an idea