fancybox
fancybox copied to clipboard
how do I force the close button of the popup to be "fixed" in position
When you have long text, users scroll down naturally and this causes the X/Close button to also scroll away. Is there a way to keep it fixed so the users can always see that close option?
I tried this but did not work:
.fancybox-slide--html .fancybox-close-small {
color: currentColor;
padding: 10px;
right: 0;
top: 0;
**position: fixed/static/etc;**
}
Hi,
You could simply make inner wrapping element and make it scrollable instead of the main element.
Clever work around. Thank you Janis.