Jump to content

Custom CSS works in the design mode but doesn't work once I'm out

Recommended Posts

I have a custom CSS for my newsletter button to match another button in the footer area.  The code works fine when I'm in the CSS section, but once I'm out it stops working.  This is the code:

 

.newsletter-block .newsletter-form-button:hover {
   color: #77F7FF !important;
  background: transparent !important;
  opacity:8!important;
}

 

Any help would be greatly appreciated!

 

Thanks!

Link to comment
  • Replies 2
  • Views 326
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

12 hours ago, kasel said:

I have a custom CSS for my newsletter button to match another button in the footer area.  The code works fine when I'm in the CSS section, but once I'm out it stops working.  This is the code:

 

.newsletter-block .newsletter-form-button:hover {
   color: #77F7FF !important;
  background: transparent !important;
  opacity:8!important;
}

 

Any help would be greatly appreciated!

 

Thanks!

Kindly share your site with the protected password to check your issue

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
On 10/27/2021 at 12:53 AM, kasel said:

I have a custom CSS for my newsletter button to match another button in the footer area.  The code works fine when I'm in the CSS section, but once I'm out it stops working.  This is the code:

 

.newsletter-block .newsletter-form-button:hover {
   color: #77F7FF !important;
  background: transparent !important;
  opacity:8!important;
}

 

Any help would be greatly appreciated!

 

Thanks!

try remove opacity:8!important; from your code

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.