Jump to content

Centering Newsletter Block "Email Address" Text

Recommended Posts

  • Replies 9
  • Views 1.9k
  • Created
  • Last Reply
  • 3 months later...
On 7/21/2020 at 8:28 AM, Intentional-Nutrition said:

Hi @tuanphan, I'm also trying to do the same, however want to align the placeholder text to the left (see screenshot). 

I've tried your code above, changing the 'centre' to 'left', but it didn't work.

URL: www.intentionalnutrition.com.au

On 7/21/2020 at 8:29 AM, Intentional-Nutrition said:

Also, what is the code to change the colour of the font when someone is typing in their email address (it's currently black, but want it to match the lighter placeholder text colour). Thanks in advance!

Please help!

Add to Home > Design > Custom CSS

footer.sections .newsletter-block .newsletter-form-field-element {
    text-align: left !important;
    padding-left: 0 !important;
}

 

On 7/21/2020 at 8:29 AM, Intentional-Nutrition said:

Also, what is the code to change the colour of the font when someone is typing in their email address (it's currently black, but want it to match the lighter placeholder text colour). Thanks in advance!

Add to Home > Design > Custom CSS

/* footer email typing */
footer.sections .newsletter-block .newsletter-form-field-element:focus {
    color: white !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 month later...

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.