Shopify themes, liquid, logos, and UX
I would like to hide the top banner from mobile, but still seen on desktop
can you help?
Hey @urbantis
Can you share a screenshot of the section that you want to hide on mobile?
Best Regards,
Moeed
Hi @urbantis ,
Follow these Steps to hide top banner on mobile only:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above </body> tag
<style>
@media only screen and (max-width: 600px) {
#shopify-section-template--14624638763092__image_banner{
display: none;
}
}
</style>
If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
Hello @urbantis
you can try this code it might be helpful to you:-
Go to the seeting> edit code> base.css> paste the the code bottom.
div#Banner-template--14624638763092__8e885c65-01f2-4422-93b4-0a0531e13152 {
display: none;
visibility: hidden;
}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025