AleksandraPad Posted March 7, 2022 Share Posted March 7, 2022 Site URL: https://lanternfish-springtail-xgn5.squarespace.com/ Hey, I'm having some issues with adding a hover effect on button element in a newsletter block. When I'm in the editor (Design > Custom CSS) everything works great in the site preview, but once I close the editor it stops working. I use a Chrome browser as a default, but I also check the page in Safari and the hover effect doesn't work there either.Here is the code I use: // Newsletter Button Hover // .newsletter-block .newsletter-form-button { transition: all 0.4s !important; } .newsletter-block .newsletter-form-button:hover { color: #ffffff !important; background-color: #D8BD81 !important; opacity: 1 !important; } I used inspect mode to check all classes attributed to this button, but only these seem to kind of work. Link to comment
Beyondspace Posted March 7, 2022 Share Posted March 7, 2022 3 hours ago, AleksandraPad said: Site URL: https://lanternfish-springtail-xgn5.squarespace.com/ Hey, I'm having some issues with adding a hover effect on button element in a newsletter block. When I'm in the editor (Design > Custom CSS) everything works great in the site preview, but once I close the editor it stops working. I use a Chrome browser as a default, but I also check the page in Safari and the hover effect doesn't work there either.Here is the code I use: // Newsletter Button Hover // .newsletter-block .newsletter-form-button { transition: all 0.4s !important; } .newsletter-block .newsletter-form-button:hover { color: #ffffff !important; background-color: #D8BD81 !important; opacity: 1 !important; } I used inspect mode to check all classes attributed to this button, but only these seem to kind of work. Can you share your site-wide password? I can not access it at the moment BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
AleksandraPad Posted March 8, 2022 Author Share Posted March 8, 2022 20 hours ago, bangank36 said: Can you share your site-wide password? I can not access it at the moment Hey, I will send the password in a private message Link to comment
Beyondspace Posted March 8, 2022 Share Posted March 8, 2022 I check that your button is fine when hovered. Have you figured it out? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
AleksandraPad Posted March 8, 2022 Author Share Posted March 8, 2022 6 hours ago, bangank36 said: I check that your button is fine when hovered. Have you figured it out? Still doesn't work on my end. Maybe it's a problem with my browser not loading the new code. Link to comment
tuanphan Posted March 13, 2022 Share Posted March 13, 2022 On 3/9/2022 at 4:28 AM, AleksandraPad said: Still doesn't work on my end. Maybe it's a problem with my browser not loading the new code. Do you still need help? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment