Jump to content

Font Size Won't Change

Recommended Posts

Site URL: http://www.creativeszn.com/contact

Anyone know why I cant change the font size to the placeholder text or the submit button? They were both working perfectly fine before.

 

input.field-element::placeholder {
    color: grey !important;
  font-family: 'TEKO-LIGHT' !important;
  font-size: 25px !important;
}
.form-wrapper input[type="submit"] {
    font-family: 'TEKO-LIGHT'!important;
  font-size: 25px !important;
  padding-top: 4px;
  padding-bottom: 1px;
  padding-right: 10px;
  padding-left: 20px;
}

 

Link to comment
  • Replies 5
  • Created
  • Last Reply

This week, Squarespace made changes to the underlying template used to render Form Blocks. These changes have improved accessibility but have resulted in changes to the HTML used to generate forms. This has affected code on hundreds of websites. You'll need to modify the CSS to match the new structure.

 

As an example, you can change the button font size using:

 

body:not(.button-style-default) .sqs-block-form .sqs-editable-button {
   font-size: 25px !important;
}

 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
.form-wrapper .field-list .field .field-element::placeholder {
  font-size: 25px!important;
}

 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

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.