Jump to content

Lightbox popup - how to customise with CSS

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Views 634
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

To change form lightbox background, use this CSS code

/* Form lightbox background color */
div.lightbox-content {
    background-color: #f1f !important;
}

 

Change Box Backgrond Color 01 Min

With text color/font, which text are you referring to?

 

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
On 3/21/2024 at 6:55 AM, louk_sy said:

also. whats the css for the form field colour? thank you in advance

You can use this CSS code

div.lightbox-content .field input {
    background-color: #f1f !important;
}

image.png.886255f6e58f662730c6e46df3679587.png

On 3/21/2024 at 6:25 AM, louk_sy said:

Worked!

And I am talking about the label text. Name, email, etc.

Use this CSS code

div.lightbox-content .caption-text, div.lightbox-content label {
    color: red !important;
    font-size: 30px !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.