We recently edited code for the Narrative Theme to display a different Slideshow hero section on our website’s homepage for Desktop vs Mobile. The desktop version works flawlessly but for some reason the mobile version displays a snippet of the section at the top of the page above the header (see image).
The only code updates for this were in Assets → theme.scss.liquid
@media only screen and (max-width: 767px) {
#Slideshow-1656530296a06a838e {
display: none;
}
}
@media only screen and (min-width: 767px) {
#Slideshow-16565303112d55f900 {
display: none;
}
}
Could someone please let me know if they have a fix for this? The website is www.wingandfinapparel.com
Thank you for your reply. The code you’ve listed is the same as the code that is already in place (see original post). The issue is that with this code, the section is not completely hidden on Mobile devices (see original post image). Do you know a solution to this?