Jump to content

Customize the submit button in a lightbox form

Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
1 hour ago, Kalie said:

Site URL: https://marigold-mouse-h28x.squarespace.com/team

Does anyone know how to change the font of the submit button (in a lightbox form). I was able to update the color in CSS, but am having troubles matching it to the other button styles.

Password: suitup

Screen Shot 2021-10-23 at 6.26.54 PM.png

Can you try

.form-wrapper input[type=submit]{
  display: inline-block;
    width: auto;
    height: auto;
    border-width: 0;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-transform: none;
    font-family: nunito-sans;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .1625em;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    line-height: normal;
    padding: 1.3em  2.171em;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 4 months later...
On 10/24/2021 at 1:50 PM, bangank36 said:

Can you try

.form-wrapper input[type=submit]{
  display: inline-block;
    width: auto;
    height: auto;
    border-width: 0;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-transform: none;
    font-family: nunito-sans;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .1625em;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    line-height: normal;
    padding: 1.3em  2.171em;
}

 

Are you able to help me customise the submit button colour please? I haven't been able to do it by adding background-colour attributes to your list above....

Site is live at https://joeblogsdigital.com

Thanks in advance. 😬

Link to comment
On 3/24/2022 at 5:34 AM, joessqsp said:

Are you able to help me customise the submit button colour please? I haven't been able to do it by adding background-colour attributes to your list above....

Site is live at https://joeblogsdigital.com

Thanks in advance. 😬

Use this CSS

input.button.sqs-system-button.sqs-editable-button.sqs-button-element--primary {
    background-color: #f1f !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

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.