Jump to content

Customise size and colour of form fields on Newsletter block

Recommended Posts

Site URL: http://www.wiseheartproject.co

Hi there, 

Thanks so much for any help in advance! 

I'm trying to update the design of the newsletter block to look like this attached image-

image.png.8a519b7700ecaa4f51861e502cb9bb39.png

However, having no such look. I have tried this following code to change the form fields but it isn't working.

.newsletter-block .newsletter-form-field-element:focus, .search-block input:focus {
    outline-color: #35582A !important;
}

.newsletter-block .newsletter-form-field-element:focus, .search-block input:focus {
    outline: none !important;
    border: 1px solid #35582A !important;
}

It currently looks like this-

image.thumb.png.d0c64981dfbb39176c740efef9ac4702.png

I would also like to reduce the size of the form fields and change the font to Neue Haas Grotesk Display Pro 24px which is a different size to any of the custom fonts I currently have on the site. 

Any help is much appreciated. 

Cheers, 

Heather 

image.png

Link to comment
  • Replies 6
  • Views 471
  • Created
  • Last Reply

Top Posters In This Topic

Try this Custom CSS as a start:

.newsletter-block .newsletter-form-field-element {
  background: none !important;
}
.sqs-block-newsletter .newsletter-form-field-element {
  border: 1px solid rgba(53, 88, 42, 1);
}
.newsletter-block .newsletter-form-field-wrapper {
  min-width: 100%;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

One more thing: I'm trying to make the size of the text for the Name and Email address smaller is that possible, I've been trying to do this with custom code but struggling, and not able to change it in the site styles either. 

Thanks in advance! 

Link to comment

Try this:

.newsletter-form .newsletter-form-field-element {
   font-size: 1rem !important;
}
.newsletter-block .newsletter-form-field-element, .newsletter-block .newsletter-form-button {
  padding: 1rem 1.2rem !important;
  line-height: 1.2rem !important;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Add this to Custom CSS:

.newsletter-block .newsletter-form-fields-wrapper {
    max-width: 360px;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.