janandsusan Posted March 7, 2022 Share Posted March 7, 2022 Site URL: https://ppi-institute.squarespace.com PW: janandsusan So we're attempting to add a hover effect for all buttons (sitewide) — the code is here that works for everything except image cards: .image-button-inner:hover a { background: #FFFFFF !important; color: #000000 !important;}.image-button-inner:hover {box-shadow: 0px 2px 5px rgba(0,0,0,.3)} The problem is specifically the hover effect on the image card CHANGES the button width on hover AND removes the rounded corners. Help? Jan & Susan admin + designjanandsusan.com Link to comment
tuanphan Posted March 10, 2022 Share Posted March 10, 2022 Don't remove any code in your current code. Add this CSS to fix problem .image-button-inner { display: inline-block; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
janandsusan Posted March 12, 2022 Author Share Posted March 12, 2022 @tuanphanThis worked perfectly to change the button width, thank you! The button corners are still not rounded (on hover) -- is there a way to add this? Jan & Susan admin + designjanandsusan.com Link to comment
tuanphan Posted March 14, 2022 Share Posted March 14, 2022 On 3/13/2022 at 2:26 AM, janandsusan said: @tuanphanThis worked perfectly to change the button width, thank you! The button corners are still not rounded (on hover) -- is there a way to add this? Try change to this .image-button-inner { display: inline-block; border-radius: 10px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
janandsusan Posted March 14, 2022 Author Share Posted March 14, 2022 @tuanphan That did it! Can't thank you enough for your help -- you're the best! Jan & Susan admin + designjanandsusan.com 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