L
L
Lyuba2018-06-17 13:15:21
css
Lyuba, 2018-06-17 13:15:21

How to change fading color in fancybox?

Tell me where to change the darkening color in fancybox in the css file and jquery.fancybox-1.2.1.pack.js it is not there where else can it be?
Here is the photo itself.
5b2634b70f69c420508262.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
yakupov112, 2018-06-17
@Lyuba2018

$.fancybox({
overlayColor: '#000'
})

A
Alexey Sklyarov, 2018-06-17
@0example

This is a crutch, because FancyBox has all this written in the js itself, but since, having found this file, I found that it is encoded (or something else), it's easier to do this:

#fancybox-overlay {background-color: #YOUR_COLOR !important}

F
FalseCode, 2018-06-17
@FalseCode

I'll add an answer. It is better to register in rgba.
This is the color that is currently

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question