In Fancybox 2.1.5 I want to replace the default controls with my custom buttons (new preloader + close/next/prev buttons on sprite).
I'm not sure how to adjust the css code properly. I tried to modify the CSS as follows, but there's something wrong, the 'next' icon shows up in the top right corner instead of the 'close' button.
You can see my code on this gist.
margin-top: -22px; margin-left: -22px; (line 88,89)
andmargin-top: -15px; (line 137)
- are these values linked with original buttons size or its independent from them? – Imperious