Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to remove the Image of the Image Banner only on computer, not mobile, but I can't figure out how to make the theme responsive.
I used to be able to hide things on mobile before but can't figure it out, might be in a different place or might just be that the Spotlight theme does not allow for responsive changes (I maybe also just be getting confused with Wordpress).
Any suggestions? Maybe it's as simple as a line of code. Thanks!
Hi @sunshinefits ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media(min-width:767px){
section:has([class*="banner"]){
display:none !important
}
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024