Hi Everyone,
I’m encountering a new challenge with my website’s banner functionality. I’ve been working on implementing a transparent banner, which I want to work exclusively on desktop view. The goal is to have this feature completely disabled on mobile devices.
As of now, I’ve managed a temporary fix. However, there’s still a minor issue where, for a brief 1-2 seconds during upward scrolling, the transparent background becomes visible on mobile. This isn’t ideal, and I’m seeking a more effective solution.
Could anyone suggest a method to fully disable the transparent banner on mobile devices, ensuring that it functions seamlessly only on desktop views? Your expertise and suggestions would be invaluable in achieving this optimal display compatibility.
The code I am using for the transparent banner is below:
Header.liquid:
section-image-banner.css:
@media screen and (min-width: 750px) {
#Banner-template–15084817678423__image_banner {
margin-top: -120px !important;
}
Website: Aromidy.com
Password: Aromidy2023
Thanks in advance for your assistance and insights!
Best regards,
Kai