SarahPiano Posted July 25, 2022 Share Posted July 25, 2022 I want to add buttons on the footer of my website that change color when you hover over them. I got the hover part figured out through custom css, but now I want to change the text alignment to left instead of center. Squarespace just says that there should be an option to change the alignment, but there is not. At least, nothing I can find. I cannot change the text without opening the dialogue box and there isn't an option to change anything with the text in the box. So, I thought I could just change it with a code. Here is what I have that also includes the hover. Can someone help me find the right code for this? TIA .sqs-block-button .sqs-block-button-element--small:hover { background-color: #548687; color: #548687; text-align: left } Link to comment
Beyondspace Posted July 26, 2022 Share Posted July 26, 2022 23 hours ago, SarahPiano said: I want to add buttons on the footer of my website that change color when you hover over them. I got the hover part figured out through custom css, but now I want to change the text alignment to left instead of center. Squarespace just says that there should be an option to change the alignment, but there is not. At least, nothing I can find. I cannot change the text without opening the dialogue box and there isn't an option to change anything with the text in the box. So, I thought I could just change it with a code. Here is what I have that also includes the hover. Can someone help me find the right code for this? TIA .sqs-block-button .sqs-block-button-element--small:hover { background-color: #548687; color: #548687; text-align: left } Can you share your site with the protected password so I can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
SarahPiano Posted July 31, 2022 Author Share Posted July 31, 2022 On 7/26/2022 at 10:50 AM, bangank36 said: Can you share your site with the protected password so I can take a look? https://k-and-s-music.squarespace.com/config/ Password: 123456 Link to comment
tuanphan Posted July 31, 2022 Share Posted July 31, 2022 48 minutes ago, SarahPiano said: https://k-and-s-music.squarespace.com/config/ Password: 123456 You mean Learn More links? Add to Design > Custom CSS footer.sections .button-block *, footer.sections .button-block { text-align: left !important; justify-content: flex-start !important; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment