Hi! In the mobile version of the website, I need to hide the hero image from the homepage because the image is not responsive and the theme doesn’t support “focal point”. How can I go about doing this? The website is https://casakanvas.cl/.
Thanks
Hi! In the mobile version of the website, I need to hide the hero image from the homepage because the image is not responsive and the theme doesn’t support “focal point”. How can I go about doing this? The website is https://casakanvas.cl/.
Thanks
Hi @franaldea , you can hide that section by adding this code in Online store > Themes > Edit code > Assets > theme.css or theme.css.liquid (add code at the bottom of file)
@media only screen and (max-width: 767px) {
#shopify-section-template--16472905908482__1628781966b6fb8bab { display: none !important; }
}
Hi,
Here’s the code to hide the hero/slider section on mobile.
@media screen and (max-width: 767px) {
.template-index .mount-slider {
display: none;
}
}
To add this to your store, follow these steps:
Go to Online Store > Themes > click “Edit code” for the main theme.
Search for theme.css, and open a file named theme.css.
At the end of the file, put the above code
Save and check your store.
I hope this helps.
oh sorry for that issue can you please add this code
@media (max-width: 768px) {
#shopify-section-template--16472905908482__1628781966b6fb8bab {
display: none !important;
}
}