Hi I have a section on the home page that has only one big picture (one I paste below) how can I hide it completely in tdesktop and only leave it in mobile. thank you
Pass: biangu
Url: www.matibrnd.com
A user wants to hide a large image section on their homepage for desktop view while keeping it visible on mobile.
Solution provided:
display: none; on the specific banner template ID to hide the sectionThe response includes visual examples showing the before/after result and the code implementation location in the theme editor.
Status: Solution marked as resolved by the original poster.
Hi I have a section on the home page that has only one big picture (one I paste below) how can I hide it completely in tdesktop and only leave it in mobile. thank you
Pass: biangu
Url: www.matibrnd.com
HI @MT27
Check this one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (min-width: 749px){
div#Banner-template--18448488431883__image_banner_Vm3g8D {
display:none;
}
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!