In fancyBox version 1 there was the overlayColor parameter, but in version 2 it doesn’t seem to work anymore.
Editing the CSS doesn’t work because it gets over-written by the JavaScript in the plugin.
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Fancybox v2.x API option are new and are not compatible with previous versions so
overlayColorhas been replaced by thehelpers=>overlay=>css=>background-coloroption.You don’t have to mess with the original (js or css) files either as suggested by @Sparky672 (that is a bad
practiceidea). You can set that option in your custom script … so having this html for instance:use a custom script like: