Jump to content

Adjust width of newsletter form fields in stack layout

Recommended Posts

  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

This isn't a perfect solution, but you can try it out:

// newsletter button - Freebies page
#collection-652ae1bf0b2e0d39da659dc3 {
  @media only screen and (min-width:768px) {
    .sqs-block-newsletter .newsletter-form-button {
      width: 306px !important;
    }
  }
  @media only screen and (max-width:767px) {
    .sqs-block-newsletter .newsletter-form-button {
      width: 288px !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) 

 Did I help? Buy me a coffee?

Link to comment

So you want all of the fields to not have a maximum width, but be constrained by the block bounds? That would probably work for the fields with Custom CSS, but may be harder to get working consistently for the button.

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) 

 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.