I’ve searched the forums and could not find any direct answer to this. For the featured collection list on the debut theme, I currently only have 3 collections to display which results in 2 boxes on row 1 and 1 box left aligned on row 2 for mobile view.
Is there a way to either center the lone box on the last row or expand the 1st or last one to take up the whole space?
The demo url is https://opi9izeod0i0i8rb-56967463070.shopifypreview.com
@kdcoogler - please add this css and check , should look like screenshot below
@media only screen and (max-width: 749px){
#shopify-section-16285217082f85fd04 .collection-grid .grid{
display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
}
#shopify-section-16285217082f85fd04 .collection-grid .grid .grid__item {flex-basis: 50%;}
}
1 Like
@kdcoogler
Please add the following code at the bottom of your assets/theme.css file.
@media only screen and (max-width: 749px){
#shopify-section-16285217082f85fd04 .collection-grid .grid{display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
}
#shopify-section-16285217082f85fd04 .collection-grid .grid .grid__item {flex-basis: 50%;}
}
Thanks!
1 Like