donforello Posted January 3, 2021 Share Posted January 3, 2021 Dear Community, I am trying to create a button that changes the text on it, when you hover over it and change it back when the cursor hovers off the button again. I have unsuccessfully searched everywhere for a solution and am hoping someone here might have had the same issue and will be able to help! Thanks in advance 🙂 Link to comment
tuanphan Posted January 7, 2021 Share Posted January 7, 2021 Hi. can you share link to page where you use button? We can help easier 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
donforello Posted January 14, 2021 Author Share Posted January 14, 2021 @tuanphan I have found the following solution, that works well: //custom sold button hover// .sqs-block-button .sqs-block-button-element--medium:before { content: "SOLD"; } .sqs-block-button .sqs-block-button-element--medium:hover::before { content: "sorry"; } //consistent size small button when text change// .sqs-block-button .sqs-block-button-element--small { width: 80%; max-width: 290px; box-sizing: border-box; } 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