Fancybox jump to top after close button clicked

Fancybox jump to top after close button clicked with while working on a site included reset.css. because reset.css conflict with fancybox.js

below is the solution :-

html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;

Above code’s overflow conflict with overflow-y on reset.css with overflow:hidden in fancybox.js but i had found solution on fancybox site which solve this problem.

padding: 0,
helpers: {
overlay: {
locked: false

This entry was posted in Development and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.