Jump to content

Help with CSS for Newsletter Block

Recommended Posts

  • 1 month later...
  • 2 months later...
On 3/12/2020 at 10:04 AM, tuanphan said:

Where is newsletter? Can you take screenshot?

 

 

Hi Tuanphan,

I'm trying to use the same CSS to update the newsletter subscription block on the site but didn't succeed...The font is too large, I want to change it to 10px. I revised 18 px to 10 px but nothing changed....

Do I need to customize more fields?

Thank you!

Echo@FouGallery

image.thumb.png.afebc46cb69c69c1ec18c6787ffddf48.png

 

 

 

 

On 3/12/2020 at 9:47 PM, tuanphan said:

Add to Home > Design > Custom CSS

footer.Footer h2.newsletter-form-header-title {
    font-size: 18px;
}
@media screen and (min-width:641px) {
footer.Footer .newsletter-form-body {
    display: flex;
    flex-direction: row !important;
}
}

 

 

Link to comment
9 hours ago, fougallery said:

 

 

Hi Tuanphan,

I'm trying to use the same CSS to update the newsletter subscription block on the site but didn't succeed...The font is too large, I want to change it to 10px. I revised 18 px to 10 px but nothing changed....

Do I need to customize more fields?

Thank you!

Echo@FouGallery

image.thumb.png.afebc46cb69c69c1ec18c6787ffddf48.png

 

 

 

 

 

Hi. What is site url?

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
  • 1 month later...
17 hours ago, Gueifao said:

Hey tuan, I costumized my newsletter block in the footer and now the subscription button appears out of screen in the mobile version, like, too much to the right

Hi, Can you share site url? 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

Hey @tuanphan I'm creating a website - thelayman.co (it's private rn but you can access it using the PW: Sciencerules). It has a newsletter block that I'm having trouble formatting. I want the email field and button to be aligned and centered on desktop and mobile. 

I tried some of the code you suggested in earlier comments but now it looks like the attached photos. 

This is the custom CSS I have right now

Quote

.newsletter-form-body>div {
    margin-top: 0 !important;
}

.newsletter-form-body {
    display: flex;
    flex-direction: row !important;
}

If you can help I'd be so grateful!! 

 

 

Desktop Screenshot.png

mobile screenshot.png

Link to comment
On 9/3/2021 at 2:30 AM, TheLayman said:

Hey @tuanphan I'm creating a website - thelayman.co (it's private rn but you can access it using the PW: Sciencerules). It has a newsletter block that I'm having trouble formatting. I want the email field and button to be aligned and centered on desktop and mobile. 

I tried some of the code you suggested in earlier comments but now it looks like the attached photos. 

This is the custom CSS I have right now

If you can help I'd be so grateful!! 

 

 

Desktop Screenshot.png

mobile screenshot.png

Hi,

add justify-content: center

.newsletter-form-body {
    display: flex;
    flex-direction: row !important;
    justify-content: center !important;
}

 

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
  • 1 year later...

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.