Is it possible to change the background color for 1 specific lightbox?
- michael.forder
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Is it possible to change the background color for 1 specific lightbox? was created by michael.forder
Posted 3 years 9 months ago #57239
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?
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.
Replied by ced1870 on topic Is it possible to change the background color for 1 specific lightbox?
Posted 3 years 9 months ago #57240
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
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
by ced1870
Please Log in or Create an account to join the conversation.
- michael.forder
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Replied by michael.forder on topic Is it possible to change the background color for 1 specific lightbox?
Posted 3 years 9 months ago #57241
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?
How would I change that background using CSS please?
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Is it possible to change the background color for 1 specific lightbox?
Posted 3 years 9 months ago #57242
please give me the url of the page so that I can give you more infos
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- michael.forder
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Replied by michael.forder on topic Is it possible to change the background color for 1 specific lightbox?
Posted 3 years 9 months ago #57243
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.
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.
Replied by ced1870 on topic Is it possible to change the background color for 1 specific lightbox?
Posted 3 years 9 months ago #57245
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
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.683 seconds