1 (edited by thvogel74 2015-03-29 22:48:05)

Topic: Modify Caption Overlay_Image in theme.css

Hi!
I would need some help on how to modify the caption overlay_image from this
http://thomasvogel.eu/temp/caption1.png
to something like this
http://thomasvogel.eu/temp/caption2.png

Thanks much!!
Thomas

Re: Modify Caption Overlay_Image in theme.css

Unfortunately, such a caption position (about 20% down from the top of the image justified to the right side) is not supported.
The caption can be positioned only via the captionPosition configuration option (OVERLAY, OVERLAY_IMAGE, BELOW_IMAGE, BOTTOM, BELOW_THUMBS, NONE).

Trying to change the caption position via CSS would be very difficult to do (if at all possible) and even if you were able to do so, you may run into unforeseen problems when the gallery is redrawn (for example if the user changes the browser window size) as Juicebox would not know of the caption's new position and would expect it to be in one of the official caption positions.

I hope you understand.

Re: Modify Caption Overlay_Image in theme.css

I suspected that this would not be easy or possible at all. Anyway, thank you for the clarification :)

Re: Modify Caption Overlay_Image in theme.css

If I thought it was at all possible, I'd be happy to provide some sample code or at least point you in the right direction but it's really beyond the realms of customizing Juicebox.