Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

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

Is it possible to change the background color for 1 specific lightbox? 21 Jul 2020 15:14 #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?

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

Is it possible to change the background color for 1 specific lightbox? 21 Jul 2020 15:33 #57240

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23799
  • Karma: 427
  • Thank you received: 2984
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.

Is it possible to change the background color for 1 specific lightbox? 21 Jul 2020 16:40 #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?

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

Is it possible to change the background color for 1 specific lightbox? 21 Jul 2020 16:46 #57242

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23799
  • Karma: 427
  • Thank you received: 2984
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.

Is it possible to change the background color for 1 specific lightbox? 21 Jul 2020 16:50 #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.

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

Is it possible to change the background color for 1 specific lightbox? 22 Jul 2020 06:45 #57245

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23799
  • Karma: 427
  • Thank you received: 2984
ok you can style the lightbox using a css prefix with the body of the page, something like this
body.menu-covid-19-emergency-response #mbCenter {
    background: white;
}
Joomlack Webmaster and Developer

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

Is it possible to change the background color for 1 specific lightbox? 22 Jul 2020 19:36 #57269

Awesome! Thank you so much! It looks fantastic now!

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

Is it possible to change the background color for 1 specific lightbox? 23 Jul 2020 07:11 #57275

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23799
  • Karma: 427
  • Thank you received: 2984
great :)
Joomlack Webmaster and Developer

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

  • Page:
  • 1
Time to create page: 0.214 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 609 guests and 3 members online