yogacid Posted July 19, 2023 Posted July 19, 2023 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!
Ziggy Posted July 19, 2023 Posted July 19, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
yogacid Posted July 20, 2023 Author Posted July 20, 2023 20 hours ago, Ziggy said: Can you share your website URL? Yes, sorry, I thought I did. www.howtousepsychedelics.com Ziggy 1
Solution Ziggy Posted July 20, 2023 Solution Posted July 20, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
yogacid Posted July 21, 2023 Author Posted July 21, 2023 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?
yogacid Posted July 21, 2023 Author Posted July 21, 2023 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment