Jump to content

Change color of contact form fields?

Go to solution Solved by tuanphan,

Recommended Posts


I would like to change the background color of my contact form fields to be black/transparent, and to have a 1 px. white border along the bottom of each field. I would also like the text for each to be white. I have attached a screenshot of how it currently looks; I have tried multiple codes found online but nothing seems to work. Anyone have an idea?

Thank you!

Screen Shot 2023-05-13 at 3.31.54 PM.png

Link to comment
  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

 Add to Design > Custom CSS

div.form-block input:not([type="submit"]), div.form-block textarea {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid white !important;
    color: white !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.