Jump to content

Lightbox Buttons not matching other buttons on site

Recommended Posts

Posted

Hello!

I have two buttons next to each other on the website I'm working on. One button leads to a different page, while the other is a lightbox to fill out a form. The Lightbox button doesn't have a "Fill" option, which makes it look different than the traditional button.

Please help!

URL: www.thewillcutgroup.com/sellers

Screenshot 2024-09-22 at 6.04.42 PM.png

Posted

@bgasaway Hi! Not sure if this is exactly what you're looking to achieve, but you can try adding this code under Website > Pages > Website Tools > Custom CSS, to adjust the width of the lightbox button so it matches the width of the traditional button.

.lightbox-handle.sqs-button-element--primary {
    width: 100% !important;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

  • 2 weeks later...
Posted
On 10/3/2024 at 3:48 AM, bgasaway said:

Ok one more question. Is there a way I can have them match our secondary button style?

You can use this to Website Tools > Custom CSS

button.lightbox-handle {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}
button.lightbox-handle:hover {
    color: #000 !important;
    background-color: #fff !important;
    opacity: 1 !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!)

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.