Jump to content

Newsletter block styling

Recommended Posts

  • Replies 9
  • Views 1.9k
  • Created
  • Last Reply
On 4/30/2021 at 1:53 AM, kristobans said:

Site URL: https://modernbusiness.squarespace.com

How can I add an outline around the placeholder field, so it matches the button style?

How can I change placeholder text? 

How to force form not to stack on mobile?

C0550A91-FC90-4D3A-B4F8-0C7288B4359C_4_5005_c.jpeg

Add to Design > Custom CSS

/* border style */
footer.Footer input[type="text"] {
    border: 2px solid black !important;
    padding: calc(~"1em - 1px");
}
/* dont stack */
@media screen and (max-width:640px) {
footer.Footer .newsletter-form-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
}

With placeholder, I guess you can edit newsletter >> Change placeholder??

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
6 hours ago, tuanphan said:

Add to Design > Custom CSS


/* border style */
footer.Footer input[type="text"] {
    border: 2px solid black !important;
    padding: calc(~"1em - 1px");
}
/* dont stack */
@media screen and (max-width:640px) {
footer.Footer .newsletter-form-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
}

With placeholder, I guess you can edit newsletter >> Change placeholder??

Thank you. 

Link to comment
8 hours ago, tuanphan said:

On mobile, do you want to fix this?

image.thumb.png.ecaa4c064281d4063e12e098ae76a9da.png

Yes, please. It's almost perfect .. but it would be nice to align properly. Thanks. 

Link to comment
On 5/4/2021 at 12:50 AM, kristobans said:

Yes, please. It's almost perfect .. but it would be nice to align properly. Thanks. 

Add to Design > Custom CSS

/* footer newsletter */
@media screen and (max-width:767px) {
footer.Footer input[type="text"] {
    margin-top: -5px;
}
}

 

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
7 hours ago, tuanphan said:

Add to Design > Custom CSS


/* footer newsletter */
@media screen and (max-width:767px) {
footer.Footer input[type="text"] {
    margin-top: -5px;
}
}

 

Thank you. Perfect! 

Link to comment
On 5/1/2021 at 8:05 AM, tuanphan said:

Add to Design > Custom CSS



/* border style */
footer.Footer input[type="text"] {
    border: 2px solid black !important;
    padding: calc(~"1em - 1px");
}
/* dont stack */
@media screen and (max-width:640px) {
footer.Footer .newsletter-form-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
}

With placeholder, I guess you can edit newsletter >> Change placeholder??

Hello, I am trying to force newsletter form not to stack but the code above won't change it. 

Please can someone help. 

Link to comment
On 5/12/2021 at 7:11 PM, harley said:

Hello, I am trying to force newsletter form not to stack but the code above won't change it. 

Please can someone help. 

Can you share link to page where you added newsletter? We can check easier

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

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.