Remove shadow from jQuery fancybox 1.3.4

Is there any way to remove the shadow effect?

I removed the shadow, but the shadow is still there ...

thank

+5
source share
5 answers

On jquery.fancybox-1.3.4.css, simply delete or change the following lines:

#fancybox-bg-n {
    top: -20px;
    left: 0;
    width: 100%;
    background-image: url('fancybox-x.png');
}

#fancybox-bg-ne {
    top: -20px;
    right: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -162px;
}

#fancybox-bg-e {
    top: 0;
    right: -20px;
    height: 100%;
    background-image: url('fancybox-y.png');
    background-position: -20px 0px;
}

#fancybox-bg-se {
    bottom: -20px;
    right: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -182px; 
}

#fancybox-bg-s {
    bottom: -20px;
    left: 0;
    width: 100%;
    background-image: url('fancybox-x.png');
    background-position: 0px -20px;
}

#fancybox-bg-sw {
    bottom: -20px;
    left: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -142px;
}

#fancybox-bg-w {
    top: 0;
    left: -20px;
    height: 100%;
    background-image: url('fancybox-y.png');
}

#fancybox-bg-nw {
    top: -20px;
    left: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -122px;
}
+12
source

Don’t forget IE CSS. Anything below this line must also be deleted.

.fancybox-ie.fancybox-bg {background: transparent! important; }

+7
source

30 , , FancyBox 2.0 . FancyBox 1, , FancyBox 2.0.

# 41 sources/jquery.fancybox.css

.fancybox-opened .fancybox-skin {
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
+4

In the jquery.fancybox css file, add "display: none;" to.fancybox-bg {...}

0
source

Instead of changing css lib, you can just add this css after adding fssbox css lib

.fancybox-bg {
  display: none;
}
0
source

All Articles