Hi,
In HikaShop 6.2.0, we switched the column system (hkc-* classes) from the old float/fixed-width approach to CSS Grid. The reason for the width: auto !important and float: none !important rules is that the old hkc-* classes had explicit width and float declarations baked into them. When we moved to CSS Grid, those old float/width values would actively break the grid layout (elements floating out of the grid, fixed widths conflicting with grid-template-columns). The !important was the only way to reliably neutralize them across all templates and overrides.
We did get feedback early on that the initial version was too broad and affected things like form fields and checkout layouts. So we refined it to only apply inside grid containers:
.hk-row > [class*="hkc-"],
.hk-row-fluid > [class*="hkc-"],
.hk-container-fluid > [class*="hkc-"] {
width: auto !important;
float: none !important;
}So it only targets hkc-* elements that are direct children of .hk-row wrappers, not all hkc-* elements on the page.
If you have custom CSS that needs to set a specific width or float on a column inside a grid row, you can override it in your own CSS file with a more specific selector, for example:
.hk-row > .hkc-sm-6.my-custom-class {
width: 50% !important;
float: left !important;
}Or, if you prefer to remove the grid behavior entirely for a specific listing, you can remove the hk-row class from the container in your view override, and the old float-based columns will work as before since the !important rules won't match.