Rearrange number of categories

If we want to Rearrange the number of categories According to our need we can follow the below Code

The Below code is for rearranging the item in Product page

Note:-According to the page the class name will vary so we need to take care of that

Code

.facets-category-cell {
text-align: center;
//width: $sc-subcategory-width;
//flex-basis: $sc-subcategory-width;
width:50%;
flex-basis: 50%;
padding:20px;
text-align: center;
margin-bottom: 30px;
// margin-right: $sc-subcategory-margin-right;

@media (min-width: $screen-sm-min) {
// width: $sc-subcategory-desktop-width;
// flex-basis: $sc-subcategory-desktop-width;
flex-basis: 25%;
width:25%;
padding:20px;
margin-bottom: 40px;
// margin-left: $sc-subcategory-desktop-margin-left;
// margin-right: $sc-subcategory-desktop-margin-right;
}
}

Leave a comment

Your email address will not be published. Required fields are marked *