Sitar Posted May 8, 2022 Share Posted May 8, 2022 Site URL: https://watermelon-sponge-6pkp.squarespace.com/ Hi, I would like to remove the hover effect on all the buttons on my website but only on mobile layout. Any suggestions? Thanks! Link to comment
tuanphan Posted May 9, 2022 Share Posted May 9, 2022 Add to Design > Custom CSS @media screen and (max-width:767px) { div.button-block a:hover { opacity: 1 !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Sitar Posted May 9, 2022 Author Share Posted May 9, 2022 2 hours ago, tuanphan said: Add to Design > Custom CSS @media screen and (max-width:767px) { div.button-block a:hover { opacity: 1 !important; } } Thank you for the reply! I've implemented it but the hover effect sill seems to be there Link to comment
tuanphan Posted May 11, 2022 Share Posted May 11, 2022 On 5/9/2022 at 5:29 PM, Sitar said: Thank you for the reply! I've implemented it but the hover effect sill seems to be there That code for Button Block. Can you share link to page where you still have problem? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Sitar Posted May 18, 2022 Author Share Posted May 18, 2022 On 5/11/2022 at 11:13 AM, tuanphan said: That code for Button Block. Can you share link to page where you still have problem? https://jolin.tech/shop/p/vactrols-are-illegal-unisex-tee on chrome android the button text gets highlighted. In mobile desktop it doesn't happen. That's why I would like to get rid of the hover effect on mobile Link to comment
Sitar Posted May 18, 2022 Author Share Posted May 18, 2022 think I've fixed it /* remove hover buttons on mobile */ @media screen and (max-width:767px) { div.sqs-button-element--primary:focus { opacity: 1 !important; } } tuanphan 1 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