Jump to content

Custom Newsletter Form issue (that's driving me to drink!)

Recommended Posts

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

Heyyy.

This never ending website is killing me!

Client wants a custom newsletter signup in the footer. I've gotten so far, but for the life of me can't figure out how to re-align the placeholder "email address" in the email field box (which is no longer a box).  Pics attached show the problem. If anyone know how to also get rid of the actual button and just have the words "Sign Up", I'd be intrigued to learn!

 

This is the code I've used:

 

// Solid Underline Newsletter Form // 

.newsletter-form-field-element {
    border-bottom: solid 1px #242424 !important;
    background-color: transparent !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

//NEWSLETTER FONT//
body:not(.button-style-default)
.newsletter-form .newsletter-form-button {
    font-family: OTIPOTI !important;     
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    padding: .8rem .8rem !important;
}
input {
          font-family: 'OTIPOTI';
          letter-spacing: 0;
          font-size: 16px;
          line-height: 1em;
          padding: 15px 20px;
          background-color: transparent;
          @media screen and (max-width: 640px) {
            padding: 15px 15px;
          }
          @media screen and (max-width: 420px) {
            padding: 17px 0 17px 12px;
          }
          display: block;
          border: none;
          &::placeholder{
            font-family: 'OTIPOTI';
            font-size: 24px;
            line-height: 1em;
            letter-spacing: 0;
            position: center
            color: #868383 !important; 
           }
        }
        @media screen and (max-width: 1350px) {
          width:  ~"calc(70% - 8px)";
        }
        @media screen and (max-width: 1200px) {
          width:  ~"calc(64%)";
        }
        @media screen and (max-width: 1024px) {
          width:  ~"calc(75%)";
        }

Screen Shot 2021-08-13 at 4.12.55 pm.png

Screen Shot 2021-08-13 at 4.12.49 pm.png

Link to comment
  • Replies 3
  • Views 578
  • Created
  • Last Reply

Top Posters In This Topic

On 8/15/2021 at 7:39 AM, zoebrock said:

Hey Tuan! No, I want to either remove or re-align the text "email address". I'd also like to remove the actual BUTTON, and just have the words....

Use this CSS

footer.sections .newsletter-form-button-wrapper {
    display: none;
}

 

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

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.