Reply To: Using titles outside the image means the image is not sized correctly

Your Account / Forums / Easy FancyBox Pro / Using titles outside the image means the image is not sized correctly / Reply To: Using titles outside the image means the image is not sized correctly

Anonymous
July 15, 2014 at 4:06 pm #3356

Ah thanks – I think I’m almost there but not quite.
I’ve added a class to the links that open the images from the slider (fb-margin) and I’ve added some jQuery code which runs on every page, but it’s not working. No doubt I’m doing something dumb as I’m a bit of a novice.

The jQuery I’m using is

$(".fb-image").fancybox({
		'margin'	: 60
	})

Is that what you meant by “setting parameters to the link class”?

Any tips would be very welcome!

Thanks
Jon