Shopify themes, liquid, logos, and UX
I use the Enterprise theme and I've created image banners for the desktop site, but I don't want image banner sections to appear on the mobile site. How can I do it?
I created for mobile in the same area a logo list and same issue, how can I do to hide the section on desktop ?
Thank you for your help !
hy, @Evaelle
please send page URL with password
I send you a message
Yes, I have made the changes you requested and have provided you with a code. Please follow the code and paste it.
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 only screen and (max-width: 600px) {
section#shopify-section-template--21185269662037__92631c17-34a8-4ded-bd3f-c789713bbfbd {
display: none !important;
}
section#shopify-section-template--21185269662037__a6fb7fc0-6d84-48a5-ac50-b52f8a192b17 {
display: none !important;
}
div#shopify-section-template--21185269662037__e0398165-688b-45d8-ae29-499ca58ca973 {
display: none !important;
}
}
</style>
It's not working
Could you please send a screenshot of the place where you added the code? It will help me
I send you a text, it's working on the mobile, the image banner is hide, but on the desktop I need to hide the logo list
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024