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

July 15, 2014 at 3:22 pm #3357

Hi,

The title (with position outside, float or inside) really only has space for one line. A second line might just fit but it depends on font sizes, line height and other styling (in your case added padding)…

There is an unused parameter (called margin) in FancyBox that allows to set a larger margin between the browser and the FancyBox frames. I’ll take this as a feature request for the upcoming Pro version 🙂

… is it possible to have different fancyboxes on different pages using different settings?

It is not possible to have different settings per page, but you can specify different parameters per media link. You will need to activate the option ‘Include Metadata jQuery extension’ which allows settings parameters like {titlePosition:over} to the link class. Available parameters and their values can be found on http://fancybox.net/api

In fact, if you can define/add classes for the slider on your homepage, then you could start using a different margin right away. Use something like {margin:60} for more title space…