Shopify themes, liquid, logos, and UX
Hey I'm looking to hide the "Classic Lion Collection" in the collage of my home page on mobile view, and keep it visible there on desktop view. My website is https://www.leosworldwide.com. Thanks for any help!
Solved! Go to the solution
This is an accepted solution.
You can try this code 😁:
@media screen and (max-width: 749px){
.collage__item.collage__item--collection.collage__item--right {
display: none;
}
.section-template--17961074164028__collage-padding >.collage--mobile {
grid-template-columns: repeat(1,minmax(0,0fr));
}
}
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @Challen ,
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/collage.css->paste below code at the bottom of the file:
@media screen and (max-width: 749px){
.collage__item.collage__item--product.collage__item--right {
display: none;
}
.collage--mobile {
grid-template-columns: repeat(1,minmax(0,1fr));
}
}
Hope my answer will help you.
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
That hid the wrong item in the collage. I need to hide the other one please.
Sorry for misunderstanding
Please remove the code in my previous answer and replace it with the code below:
@media screen and (max-width: 749px){
.collage__item.collage__item--collection.collage__item--right {
display: none;
}
.collage--mobile {
grid-template-columns: repeat(1,minmax(0,0fr));
}
}
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
That worked for the top collage how I wanted it too, but it also unfortunately removed the second image in the second collage on my home page. Can you get that image back? It's the bottom collage with the black/white pictures of the girls. It should have three images.
This is an accepted solution.
You can try this code 😁:
@media screen and (max-width: 749px){
.collage__item.collage__item--collection.collage__item--right {
display: none;
}
.section-template--17961074164028__collage-padding >.collage--mobile {
grid-template-columns: repeat(1,minmax(0,0fr));
}
}
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
That worked perfectly, thank you!!
hi kate, im trying to remove the image collage how would that be done? ie i only want the image collage to show in deskptop, not in mobile view
Starting 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, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024