Shopify themes, liquid, logos, and UX
the collection list on home page only allows 1, 2 or 3 per row. I want to show 4 if possible.
Solved! Go to the solution
This is an accepted solution.
yes, please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme-index.min.css ->paste below code at the bottom of the file.
.section-index-collectionlist .grid-item-33 {
width: 25% !important;
}
@media (max-width: 720px) {
.section-index-collectionlist .grid-item-33 {
width: 50% !important;
}
}
Hey there, how are you doing today!
Yeah concerning your complaint which states that you want your home page to allow more than 4 pages per row. If i may ask, which theme do you use for your store customization?
Hello - please share your website link so me or another member of this community can look into it.
oh sorry for that issue can you please send store url
This is an accepted solution.
yes, please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme-index.min.css ->paste below code at the bottom of the file.
.section-index-collectionlist .grid-item-33 {
width: 25% !important;
}
@media (max-width: 720px) {
.section-index-collectionlist .grid-item-33 {
width: 50% !important;
}
}
Worked! thanks heaps 🙂
its my pleasure to help us
Another help please as follow up. possible to fix the height of the images? now the last image looks a bit longer than others. I tried to crop it or switch their positions but it didn't fix the issue. I think we need to add a height code maybe?
yes, please issue screenshot so i will check
Hello Ketan, Thank you for your help, I'm using Capital theme, Currently it's showing 4 collection per row which is fine but from 768px it's showing 1 collection per row, But I wanted to show 2, is it possible? If possible, Please help
@mrmentor404 yes please share your store url so i will check and update you
Hi, The theme is not published, if you could give me an instruction it would be really helpful!
@KetanKumar Hello Ketan, I am having issue in sending link as my theme is not published, my store currently published with another theme. if you could give me an instruction it would be really helpful!
@mrmentor404 can you please share your store preview url
@mrmentor404 can you please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/section-collection-list.min.css ->paste below code at the bottom of the file.
@media (max-width: 768px) {
.featured-collections-wrapper .collection-grid--items-4 .homepage-collection-grid-item {
flex-basis: 50%;
width: 47%;
flex: 0 0 47%;
}
.featured-collections-wrapper .collection-grid.keep-spacing {
flex-wrap: wrap;
flex-direction: row;
}
#shopify-section-template--17833388343482__collection_list_twDqeX h3.grid-item__title {
font-size: 15px !important;
}
}
Applying the below code should achieve what you are looking for:
@media (min-width:768px) {
.grid-item-33 {
width: 25% !important;
}
}
Adding the above code at the end of one of your css files should do the job.
EDIT: adjusted the code to be applied only for desktops.
Kind regards,
Gabriel
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024