dudecctv Posted July 19 Share Posted July 19 As you can see on my website, the current header button "Create Account" does not have any hover effect. I already have some custom code for this button in CSS (for sizing and colour), and I would like to add a slight dim to it when the mouse hovers on it. However, I want to do this without affecting current button CSS which maintains its size and colour. Can you please help? Thank you! Link to comment
Ziggy Posted July 19 Share Posted July 19 Can you share your website URL? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dudecctv Posted July 20 Author Share Posted July 20 20 hours ago, Ziggy said: Can you share your website URL? Yes, sorry, I thought I did. www.howtousepsychedelics.com Ziggy 1 Link to comment
Solution Ziggy Posted July 20 Solution Share Posted July 20 You can try this CSS: .header-actions .btn:hover { transition:ease-in-out 300ms; background-color:rgba(255,255,255,0.85) !important } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dudecctv Posted July 21 Author Share Posted July 21 17 hours ago, Ziggy said: You can try this CSS: .header-actions .btn:hover { transition:ease-in-out 300ms; background-color:rgba(255,255,255,0.85) !important } Thanks, this is working except for the fact that it's slightly transparent on hover? Link to comment
dudecctv Posted July 21 Author Share Posted July 21 17 hours ago, Ziggy said: You can try this CSS: .header-actions .btn:hover { transition:ease-in-out 300ms; background-color:rgba(255,255,255,0.85) !important } Solved, actually. Thanks! 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