Jump to content

Styling Form/Contact Blocks

Recommended Posts

Hi everyone,

I'm using the code below to style a form block. I've played around with it but can't figure out how to get the css to apply to all text areas, not just the bottom one. The text styling doesn't seem to be working either. Appreciate any help!

code:

// forms ///
.form-wrapper .field-list textarea {
  font-size: 10px !important;
  background-color: #F9F3EF !important;
  border: 1px solid #D2B2A4 !important;
  border-radius: 15px !important;
}

.field-element  {
  font-size: 10px !important;
  padding-top: 5px !important;
  background-color: #F2EBDD !important;
  border: 1px solid #F49E21 !important;
  border-radius: 15px !important;
}

Screen Shot 2023-06-14 at 12.18.06 PM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Try this for input fields

div.form-block input:not([type="submit"]) {
  font-size: 10px !important;
  background-color: #F9F3EF !important;
  border: 1px solid #D2B2A4 !important;
  border-radius: 15px !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.