Shopify themes, liquid, logos, and UX
Hi,
im looking to make this section either a slider on mobile or hide the two bottom ones on mobile. My site is https://vazluxe.com
Hey @Luxurymrkt
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
a.box:nth-child(3) {
display: none !important;
}
a.box:nth-child(4) {
display: none !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
@Luxurymrkt
In your css some css hide other elements where nth-child(3) inside the nth-child (1) means first elements nth-child(2)means second. This way you can hide which element you like. I have given the CSS for you to hide 3rd and 4th
@media screen and (max-width: 767px) {
a.box:nth-child(3) {
display: none !important;
}
a.box:nth-child(4) {
display: none !important;
}
}
Syncora: Backup & Restore [Free] - Automated real-time store backup with one-click easy restore.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery, and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025