Shopify themes, liquid, logos, and UX
How can I make the collection images full width on mobile without the second image on the side showing?
I'd also like to keep the slider under the collections. I'm using pipeline.
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @Mg71
check this one.
@media only screen and (max-width: 767px) {
[data-grid]:not([data-grid-no-gutters]), [data-grid][data-grid-no-gutters], [data-grid] {
width: 100%;
}
.list__collections [data-grid], [data-grid][data-grid-small] [data-item] {
width: 100%;
}
.wrapper.section-padding.title-center {
padding-right: 0px;
}
}
hello @Mg71
Can you please share the store URL and password (if need) so i can check and give you best suggestion...
Hi @Mg71,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
@media only screen and (max-width: 767px) {
.list__collections [data-grid] .grid__item {
width: 100% !important;
}
.list__collections [data-grid] {
padding-left: 0 !important;
}
}
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via [email protected]
- Here is the solution for you @Mg71
- Please follow these steps:
- Then find the theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
@media only screen and (max-width: 767px) {
.list__collections [data-grid] .grid__item {
width: 96% !important;
}
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
Need help from our expert? Kindly share your request with us via [email protected]
This is an accepted solution.
Hi @Mg71
check this one.
@media only screen and (max-width: 767px) {
[data-grid]:not([data-grid-no-gutters]), [data-grid][data-grid-no-gutters], [data-grid] {
width: 100%;
}
.list__collections [data-grid], [data-grid][data-grid-small] [data-item] {
width: 100%;
}
.wrapper.section-padding.title-center {
padding-right: 0px;
}
}
How can I exclude the related products collection from being grouped in this? I'd like that to not be changed. Thanks!
Welcome to our latest blog feature. We're excited to interview a talented team of femal...
By JasonH Jul 1, 2024TikTok has rapidly emerged as a leading force in the social media landscape, rivaling p...
By Trevor Jun 12, 2024In May, we celebrated our community's amazing collaborative spirit. You asked, and t...
By JasonH Jun 6, 2024