Jump to content

Styling the button that opens the form popup without affecting other buttons

Recommended Posts

Site URL: https://jeffpow.com

Hi everyone, 

Need your help.

Attached are the button styling I want (dark).

I've input these CSS code as follows:

button {
    font-size: 21px !important;
      font-weight: 500 !important;
    padding-top: 34px !important;;
    padding-bottom: 34px !important;;
    padding-left: 80px !important;;
    padding-right: 80px !important;;
    border-radius: 0px !important;;
    color: #ffffff !important;
    background: #36150d !important;  
}

 

However, it affected other portions too.

As attached.

Not sure why. Thanks.492997131_Screenshot2021-01-13at9_14_07PM.thumb.png.6cb9bc3a24ae55d2f5633cd6a006cbe8.png

Screenshot 2021-01-13 at 9.09.34 PM.png

Screenshot 2021-01-13 at 9.13.56 PM.png

Link to comment

try change button to button.lightbox-handle

If it doesn't work, can you share link to page where you use button? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • Susana_SQSP changed the title to Styling the button that opens the form popup without affecting other buttons

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.