Jump to content

Change the size of placeholder text in forms through CSS

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 5
  • Views 327
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

@flocosix

You should be able to change the input font size with the following CSS. I'm not sure how to target the placeholder font size though. Hope this helps!

 

.sqs-block-form .field-list input, .sqs-block-form .field-list textarea, .sqs-block-form .field-list .form-input-prefix {
  font-size: 12px;
}

 

Link to comment
  • Solution
On 9/22/2024 at 12:43 AM, flocosix said:

Use this CSS code

div.form-block .form-item.field *::placeholder, div.form-block .form-item.field select {
    font-size: 30px !important;
}

image.png.dc6249ebf02cd148dd6b6a84777eb584.png

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.