Shopify themes, liquid, logos, and UX
Hello!
I would like to increase the number of collection cards in a single row on mobile from 2 columns to 5. I would also like to reduce the collection card size on mobile only and remove the arrows in the collection title. Please help!
URL is https://driftwoodgirls.com
Thank you 🙂
Hi @heathergreg
Try this one.
@media only screen and (max-width: 989px){
.slider.slider--tablet {
position: relative;
flex-wrap: nowrap;
overflow-x: revert;
}
.card-wrapper.animate-arrow.collection-card-wrapper {
width: 80%;
margin: auto;
}
#Slider-template--19619295002942__9f4d56d1-fd46-481a-ad44-03452a17af86 {
justify-content: center;
width: 50%;
margin: auto;
}
slider-component.slider-mobile-gutter.scroll-trigger.animate--slide-in {
padding-left: 15px;
padding-right: 15px;
}
span.icon-wrap {
display: none;
}
}
I hope it help.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
So close! 😩 is there a way to remove that padding? Also is there a way to remove the slider text ( < 1-3 >) to improve spacing between the collection cards and banner?
It didnt work for you? On my it works properly, I check also in incognito.
Try to paste it on the theme.liquid file, before this tag </bod>
<style>
@media only screen and (max-width: 989px){
.slider.slider--tablet {
position: relative;
flex-wrap: nowrap;
overflow-x: revert;
}
.card-wrapper.animate-arrow.collection-card-wrapper {
width: 80%;
margin: auto;
}
#Slider-template--19619295002942__9f4d56d1-fd46-481a-ad44-03452a17af86 {
justify-content: center;
width: 50%;
margin: auto;
}
slider-component.slider-mobile-gutter.scroll-trigger.animate--slide-in {
padding-left: 15px;
padding-right: 15px;
}
span.icon-wrap {
display: none;
}
.slider-buttons.no-js-hidden {
display: none;
}
}
</style>
And save.
I hope it help.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Sadly I don't see a </bod> tag in my theme.liquid file... Not really sure where to go from here
In here.
Okay that worked, but the title font is too large to fit within the container
Is there code I can apply to make the mobile collection label front smaller? Thank you for all of your help!
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024