This only happens in Safari, but it's annoying and I can't figure it out. I've customized the Colorbox to have a black background which works for the most part, but when using Safari for Mac, it flashes white right before the iFrame content is loaded, then goes back to black. I have even embedded <style ="background:#000> into the body tag of the content within the frame but it still happens. This tells me that somewhere/somehow, the colorbox is defaulting something to a white backgound, but I can't find it.

Any help appreciated!
Thx

Comments

jjjames’s picture

Status: Active » Fixed

I found it was just some styles in the default css files of the module for anyone who cares

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tropicfruit’s picture

Just for the record - this is the rule of the colorbox.css which causes the white background. It can be easily overwritten with any other color or set to no background.

#cboxLoadingOverlay {
	background: #fff;
}