pierrekaram Posted June 1, 2022 Share Posted June 1, 2022 (edited) Site URL: https://pierrekaram.com/ Hello everyone, I need some help with my website. I would like to disable the background hover effect only for the mobile view on my website. (so prevent the background image changing when you simply touch it with your finger). Could someone help me with that? Thanks for your help The password is pierrekaram00 Edited June 1, 2022 by pierrekaram Link to comment
Solution Beyondspace Posted June 2, 2022 Solution Share Posted June 2, 2022 11 hours ago, pierrekaram said: Site URL: https://pierrekaram.com/ Hello everyone, I need some help with my website. I would like to disable the background hover effect only for the mobile view on my website. (so prevent the background image changing when you simply touch it with your finger). Could someone help me with that? Thanks for your help The password is pierrekaram00 You can try the following code /*prevent hover effect on mobile*/ @media only screen and (max-width: 767px) { #collection-6169c831ec5ab773cfc058ad .portfolio-hover[data-animation="fade"] .portfolio-hover-bg[data-active="true"] .portfolio-hover-bg-img { opacity: 0; visibility: hidden; } } Let me know how it works on your site pierrekaram and tuanphan 1 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
pierrekaram Posted June 2, 2022 Author Share Posted June 2, 2022 5 hours ago, bangank36 said: You can try the following code /*prevent hover effect on mobile*/ @media only screen and (max-width: 767px) { #collection-6169c831ec5ab773cfc058ad .portfolio-hover[data-animation="fade"] .portfolio-hover-bg[data-active="true"] .portfolio-hover-bg-img { opacity: 0; visibility: hidden; } } Let me know how it works on your site It worked perfectly. Thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment