Shopify themes, liquid, logos, and UX
Hello, trying to change my collection list from rows of 5-6, to just ONE row of 12 (Dawn v11)
how it currently looks:
How I would want it to look: (Rough photoshop)
The maximum columns on the slider is 5 right now, used to be 6 on previous dawn version, I have very little css knowledge to know how to increase that in the code, so any help would be amazing. thanks
Solved! Go to the solution
This is an accepted solution.
Hi @Avonapp
You can do that by going to your Online store > Themes > Edit code > open collection-list.liquid file, find this type of code
{
"type": "range",
"id": "columns_desktop",
"min": 1,
"max": 5,
"step": 1,
"default": 3,
"label": "t:sections.collection-list.settings.columns_desktop.label"
},
Then change value in max is 12 and default is 12 too so the code will look like this
{
"type": "range",
"id": "columns_desktop",
"min": 1,
"max": 12,
"step": 1,
"default": 12,
"label": "t:sections.collection-list.settings.columns_desktop.label"
},
After that, please add this css code at the bottom of your base.css file
@media screen and (min-width: 750px) {
.grid__item {
width: calc(8% - var(--grid-desktop-horizontal-spacing) * 3 / 12) !important;
}
}
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Please add this code at the bottom of your base.css file
#shopify-section-template--21461543485745__3627c65f-407a-4231-b71e-a76e06c846ea .collection-list-wrapper { max-width: 100% !important; }
#shopify-section-template--21461543485745__3627c65f-407a-4231-b71e-a76e06c846ea .collection-list-wrapper .card__heading { font-size: 13px; }
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hi @Avonapp
You can do that by going to your Online store > Themes > Edit code > open collection-list.liquid file, find this type of code
{
"type": "range",
"id": "columns_desktop",
"min": 1,
"max": 5,
"step": 1,
"default": 3,
"label": "t:sections.collection-list.settings.columns_desktop.label"
},
Then change value in max is 12 and default is 12 too so the code will look like this
{
"type": "range",
"id": "columns_desktop",
"min": 1,
"max": 12,
"step": 1,
"default": 12,
"label": "t:sections.collection-list.settings.columns_desktop.label"
},
After that, please add this css code at the bottom of your base.css file
@media screen and (min-width: 750px) {
.grid__item {
width: calc(8% - var(--grid-desktop-horizontal-spacing) * 3 / 12) !important;
}
}
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Worked perfectly thanks, Only issue is the font size is a bit janky now.
Would you know how to reduce that further so its only 1 line?
Hi, please send me your store link so I can provide the code to do that.
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Please add this code at the bottom of your base.css file
#shopify-section-template--21461543485745__3627c65f-407a-4231-b71e-a76e06c846ea .collection-list-wrapper { max-width: 100% !important; }
#shopify-section-template--21461543485745__3627c65f-407a-4231-b71e-a76e06c846ea .collection-list-wrapper .card__heading { font-size: 13px; }
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi Dan! I followed this this tutorial and got a nice 8 column collection list! But it seems that adding this bit:
@media screen and (min-width: 750px) {
.grid__item {
width: calc(8% - var(--grid-desktop-horizontal-spacing) * 3 / 12) !important;
}
}
(in my version I made it 12.5% and *8 / 8 to fit my 8 column version. Leaving it as *3 made it display strangely, there was one huge thumbnail on a separate row)
-has also made my slideshow do something weird- it used to be two separate images that would autorotate between each other, but now both images are smushed into the first slide and pressing the change slide button does nothing (I've attached a screenshot below but with both the sliders blurred for privacy). Could you advise?
Thank you, I await your reply!
Please share your store URL so I can check
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
(store URL)
(store password)
(details omitted for privacy reasons)
Please update the code to this version and check again.
@media screen and (min-width: 750px) {
#shopify-section-template--23744549257494__collection_list_LmMVU9 .grid__item {
width: calc(12.5% - var(--grid-desktop-horizontal-spacing)* 8 / 😎 !important;
}
}
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
IT WORKED! Thank you so much! And what an honour to get a reply from Dan-From-Ryviu himself, you're a cornerstone of Shopify Community.
You are very welcome!
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hello! It's me again haha.
I've just noticed that the most recent code mentioned above has also caused the collection list on a different page (the main "collection" page) to touch the footer. I wonder if it's somehow linked to the collection list on the homepage, even though we'd specified the section ID in the previous code?
https://testcakestore3.myshopify.com/
pw: yetria
the collection list in question is found on the "SHOP ALL" page
I can sort of get round it by adding a custom liquid section below it and putting nothing in it to act as a sort of makeshift margin, but I figure that might not be best practice! (though at this point if you simply recommend that as the solution, then I'll do that!)
edit: it’s the same case with mobile view too, the items are touching the footer
Thank you, I await your reply!
You can update code to this version so it will be applied to all collection lists
@media screen and (min-width: 750px) {
.collection-list .grid__item {
width: calc(12.5% - var(--grid-desktop-horizontal-spacing)* 8 / 12) !important;
}
}
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Ah, unfortunately that has not solved the second-collection list touching the footer problem and has also made that collection list display weird (one massive thumbnail on a row below) and ignore the "number of columns" setting in the theme editor...
(I adjusted your suggested code from * 8 / 12 to * 8 / 8 because the former made my original homepage collection list also display weird)
Actually I ended up hiding the original collection list anyway because it didn't let me order the collections the way I wanted. I made a new collection list and it seems not to have the touching the footer problem. All's well now!
Do you have some same script to use for craft theme???
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