Jump to content

Custom font for text inside form fields

Recommended Posts

  • ryjamu changed the title to Custom font for text inside form fields
Posted (edited)

Add the following to Design > Custom CSS.

.form-wrapper .field-list .field .caption .field-element {

  font-family : fantasy;
  font-size : 26px;
  
  }

This is for a v7.1 site.

This is a site-wide change. If you want to target a specific form you'll need to point us to it.

You can change the values to whatever meets your needs.

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
On 1/30/2021 at 9:38 PM, creedon said:

Add the following to Design > Custom CSS.


.form-wrapper .field-list .field .caption .field-element {

  font-family : fantasy;
  font-size : 26px;
  
  }

This is for a v7.1 site.

This is a site-wide change. If you want to target a specific form you'll need to point us to it.

You can change the values that whatever meets your needs.

Let us know how it goes.

Thank you, Thomas! Very helpful.

  • 1 year later...
Posted

Hello,

Whenever I use the following code it only affects the font size of certain form fields. How must the code be modified to change font size (within fields) of drop-downs, phone number fields XXX XXX XXXX, and squarespace name fields (First & Last). These 3 sets of field types do not change using the following code and still have a much smaller font size.

 

.form-wrapper .field-list .field .caption .field-element {
  font-size : 14pt;
  }
Posted
1 hour ago, MSD_7 said:

Whenever I use the following code it only affects the font size of certain form fields.

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.