Reply To: FancyBox and infinite scroll – issues

#10688
photonopticum
Participant

Hi Daniel,
this works. I modified the colorbox call in two instances to this to call fancybox:

$(‘.entry-content a[href$=”.jpg”],.entry-content a[href$=”.jpeg”],.entry-content a[href$=”.png”],.entry-content a[href$=”.gif”],a.colorbox’).fancybox();

What confuses me though is the fact that now some CSS of fancybox seems to be overwritten with the included lightbox code… e.g. the title of a photo does not appear in the fancybox style white extended border below the image, but in a “button style” , well, button – which I actually like 🙂 So, just curiosity at this point.

It would be great, if you would include in future revs. of the theme an option for an alternative viewer – or include fancybox. Your theme lives of the flexibility, however, the advantage of fancybox is that large view images are displayed matching the size of the visible browser window (large window – large image, small window – small image), a feature the built in lightbox does not offer (and the only reason why I wanted to get fancybox working).

Anyhow, thanks for your help!!!!!
It is greatly appreciated!
M.