# Columns on featured not dynamically changing
Posted: Wed Aug 09, 2017 7:09 pm
On my homepage: https://eurorackworld.com/ the number of columns always stay at 4 for the product overview (see the featured overview). If add a right column, the number of product columns stay at 4, so it becomes really cramped. On my category page it does work fine, see https://eurorackworld.com/eurorack-modules , with a right columns it shows now 3 products in a row, and when adding a right column it shows two. Why is this not working at the featured modules on the homepage?
I noticed that there is a 'dynamic' fix in the common.js but that only works for the category page. For the homepage somewhere the wrong id is added to the class , as 'product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12' should be 'product-layout col-lg-4 col-md-3 col-sm-6 col-xs-12'
I checked out many files but no idea where the this part of the class is changed? Is there a location which works like the common.js for the category, which changes the number of columns based on the presence of the right or left columns? It should be an easy fix if I know where that homepage class is changed, anyone an idea?
I noticed that there is a 'dynamic' fix in the common.js but that only works for the category page. For the homepage somewhere the wrong id is added to the class , as 'product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12' should be 'product-layout col-lg-4 col-md-3 col-sm-6 col-xs-12'
I checked out many files but no idea where the this part of the class is changed? Is there a location which works like the common.js for the category, which changes the number of columns based on the presence of the right or left columns? It should be an easy fix if I know where that homepage class is changed, anyone an idea?