Is it possible to change the background color for 1 specific lightbox?
- michael.forder
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 3 months ago #57239
by michael.forder
Is it possible to change the background color for 1 specific lightbox? was created 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?
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.
4 years 3 months ago #57240
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Is it possible to change the background color for 1 specific lightbox?
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
Please Log in or Create an account to join the conversation.
- michael.forder
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 3 months ago #57241
by michael.forder
Replied by michael.forder on topic Is it possible to change the background color for 1 specific lightbox?
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.
4 years 3 months ago #57242
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Is it possible to change the background color for 1 specific lightbox?
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.
- michael.forder
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 3 months ago #57243
by michael.forder
Replied by michael.forder on topic Is it possible to change the background color for 1 specific lightbox?
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.
4 years 3 months ago #57245
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Is it possible to change the background color for 1 specific lightbox?
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