HeavyArtillery Posted January 19, 2022 Share Posted January 19, 2022 Site URL: https://dogfish-rhubarb-3kts.squarespace.com/ I am having a similar problem with change showing when the CSS editor is live, but not on the actual page. I am trying to customize a button so it is just text, no outline or background, and no background color on hover or click. It works great when the editor is live but otherwise it still flashes a white background on hover/click: This is the code I have added to the Design/Custom CSS editor: .sqs-block-button .sqs-block-button-element--large { border: 0; color: black; } .sqs-block-button .sqs-block-button-element--large:hover { background-color: #ffffff00!important; opacity: 1 !important; color: #fefefe !important; } .sqs-block-button .sqs-block-button-element--large { padding: 4rem !important; } If anyone could advise what I did wrong I would really appreciate it. If it helps to check it out on the site you can check it out here. The very first section has one of the buttons with the issue ("Oculus Quest 2").https://dogfish-rhubarb-3kts.squarespace.com/ password: havealook Thanks! Brett Link to comment
tuanphan Posted January 20, 2022 Share Posted January 20, 2022 your code conflict together try this new code .sqs-block-button .sqs-block-button-element--large { border: 0 !important; color: #000 !important; } .sqs-block-button .sqs-block-button-element--large:hover { background-color: #fff !important; opacity: 1 !important; color: black !important } .sqs-block-button .sqs-block-button-element--large { padding: 4rem !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
HeavyArtillery Posted January 20, 2022 Author Share Posted January 20, 2022 @tuanphan Thank you! That didn't quite get it - made the type go black and the background white on hover, but I played with it and got it working as I was hoping for. Used this code: .sqs-block-button .sqs-block-button-element--large { border: 0 !important; color: white !important; } .sqs-block-button .sqs-block-button-element--large:hover { background-color: #ffffff00 !important; opacity: 1 !important; color: #ededed !important } .sqs-block-button .sqs-block-button-element--large { padding: 4rem !important; color: white; } I really appreciate the help with it. /b 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