imdanielduncan Posted July 25, 2023 Share Posted July 25, 2023 Hi, I was wondering if there is a way to change the hover animation when using the "Flex Animation" so that my buttons are transparent on hover instead of changing the background to the text color. I've attached a screen recording below. I want the button to be transparent on hover instead of black. If there's any way to achieve this effect in Squarespace, that'd be awesome. Thanks! Screen Recording 2023-07-24 at 8.48.15 PM.mov Link to comment
tuanphan Posted July 26, 2023 Share Posted July 26, 2023 Hi, What is site url? We can check easier 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
imdanielduncan Posted July 26, 2023 Author Share Posted July 26, 2023 29 minutes ago, tuanphan said: Hi, What is site url? We can check easier Hi, the site is starvedrockphotographer.com/homepage-draft Link to comment
tuanphan Posted July 27, 2023 Share Posted July 27, 2023 On 7/26/2023 at 10:05 AM, imdanielduncan said: Hi, the site is starvedrockphotographer.com/homepage-draft Add this to Design > Custom CSS .button-block a:hover, .button-block a:hover:before { background-color: transparent !important; } Lalat 1 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
imdanielduncan Posted July 27, 2023 Author Share Posted July 27, 2023 (edited) 11 hours ago, tuanphan said: Add this to Design > Custom CSS .button-block a:hover, .button-block a:hover:before { background-color: transparent !important; } Hi, thanks for responding! That makes the button transparent, but is there a way to turn the button to an outline? (I've attached a screen recording in case my explanation wasn't good) Right now there's also a weird animation when I hover over/away from the button. Is there any way to make the animation look like the screen recording I've attached? The screen recording is from another page on the site. The animation on hover is from using the "flex" site-wide animation so is there a way to just default the animation to that? Thanks! Here's what I'd like the animation to look like as well as the "outline" on hover: Screen Recording 2023-07-26 at 11.15.09 PM.mov Here's what it looks like currently: Screen Recording 2023-07-26 at 11.13.35 PM.mov Edited July 27, 2023 by imdanielduncan Link to comment
tuanphan Posted July 28, 2023 Share Posted July 28, 2023 Try this code .button-block a:hover, .button-block a:hover:before { background-color: transparent !important; } .button-block a:hover { border: 2px solid white !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
imdanielduncan Posted July 28, 2023 Author Share Posted July 28, 2023 2 hours ago, tuanphan said: Try this code .button-block a:hover, .button-block a:hover:before { background-color: transparent !important; } .button-block a:hover { border: 2px solid white !important; } Hi, Thanks for getting back to me! That makes the button an outline as I'd like, but it still doesn't have the same animation as the "flex" site-wide button animation. I've attached a screen recording below. If there's any way I can default the animation to the site-wide one, that'd be great. Thanks! Screen Recording 2023-07-28 at 7.46.38 AM.mov 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