Jump to content

How can I set up a hover effect for newsletter and lightbox button?

Recommended Posts

  • SimonFr changed the title to How can I set up a hover effect for newsletter and lightbox button?
1 hour ago, SimonFr said:

Site URL: https://freedomofmovement.squarespace.com/

Hi there!

I have set up a hover effect for all my buttons. Unfortunately it doesn't work yet for the newsletter button and the lightbox button (used on my page at 'kontakt'). Can someone tell me how to set up the effect for these buttons?

I am very happy about your help!
 

Side Password: fom2022

Try adding to Home > Design > Custom Css

[data-new-color-theme-rendering] .sqs-block-newsletter .newsletter-form-button:hover {
  color: red !important;
  background: white !important;
}

Let me know how it works on your site

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
17 hours ago, SimonFr said:

Thank you very much. The hover works fine. How can I change it so that the button is no longer transparent when the cursor is on it?

Bildschirmfoto 2022-09-08 um 17.40.20.png

Use this CSS

[data-new-color-theme-rendering] .sqs-block-newsletter .newsletter-form-button:hover {
    background-color: #71919e !important;
    opacity: 1 !important;
}

 

16 hours ago, SimonFr said:

For the lightbox button the hover doesn't work yet either. Do you have an idea how I can set this up?

Bildschirmfoto 2022-09-08 um 18.25.10.png

Use this CSS

button.lightbox-handle:hover {
    background-color: #71919e !important;
    opacity: 1 !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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.