e-smartsolution ยป December 31, 2018

Daily Archives: December 31, 2018

Website developer Wordpress

Make Fancybox appear on top of the page

Published by:

Make Fancybox appear on top of the page
When setup a link to an image using fancybox but when the user clicks on the thumbnail the fancybox box won’t appears on the top all your content. Like you can see on the next image:


An easy and quick solution for that is setup the z-index of fancybox container

.fancybox-container{
z-index:9999999999!important;
}

Now us result that your image should appear on the top of everything:
FancyBox on the top of everything