Jump to content

Lightbox popup - how to customise with CSS

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hello. 

I am looking for some knowledge regarding styling the lightbox popup form. I would like to know how to change the background colour, the text colours and fonts.

 

Thank you

  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
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!)

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.