Jump to content

Customising Newsletter Block - Active State

Recommended Posts

Hi team,
I am using the following code to customise my newsletter block:
 

.sqs-block-newsletter .newsletter-form-field-element {
    border: none !important; 
border-bottom: 1px solid #fff !important;
border-radius: 0px !important;
background: transparent; 
}

However as the Background is black I would like to make the active state when the field is clicked on different. 
880608385_ScreenShot2020-10-12at4_05_44pm.thumb.png.1ca35083f131281264548966b63e8789.png
Currently this becomes white like shown here with black text. This means the text disappears against the background when you click out of the form. How can I change the white background colour and the text colour when the field is active?   Thanks!

 322044005_ScreenShot2020-10-12at4_05_51pm.thumb.png.5dc98b9d4577428dd6e8947aff63fee2.png

Link to comment
  • Replies 5
  • Views 1.5k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.