Is it possible to change the background color for 1 specific lightbox?

More
4 years 3 months ago #57239 by michael.forder
Hi,
For 99% of my lightbox uses, the black background color works fantastic. I have 1 instance where a white background would work so much better. I was wondering if it was possible to change the background color for just that 1 lightbox to white, while keeping all the rest of the lightboxes as black?

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #57240 by ced1870
Hi
this could be possible using CSS, if you white lightbox is on a specific page
if you want to have white and black lightbox on the same page, this would not be possible
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #57241 by michael.forder
OK, I checked and there are no other lightboxes on the page that I want the white one on.

How would I change that background using CSS please?

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #57242 by ced1870
please give me the url of the page so that I can give you more infos

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #57243 by michael.forder
www.storevertical.com/covid-19-emergency-response

It's at the top, where it says, "Featured on CTV News - Read the Article" Right now I just have it linking to a new page until I can get the lightbox working right.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #57245 by ced1870
ok you can style the lightbox using a css prefix with the body of the page, something like this
Code:
body.menu-covid-19-emergency-response #mbCenter { background: white; }

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 579 guests and one member online