Topic: Gallery title centered + subtitle

I'd like to have my logo, centered top, above the auto play slideshow.  Below the logo, I'd like to have one line of text, ie: "Bob and Jenny"

1. I've replaced the gallery name with my logo using <img src= 'logo.png'> with position as TOP.  But it displays on the left, how do I center it?

2. Can I add text centered below the logo?

Re: Gallery title centered + subtitle

1. I've replaced the gallery name with my logo using <img src= 'logo.png'> with position as TOP.  But it displays on the left, how do I center it?

There is currently no configuration option to horizontally center the gallery title.
However, this could be achieved by modifying the 'jbcore/classic/theme.css/' file.
Please see the Juicebox - Theming Guide for further details.

2. Can I add text centered below the logo?

Yes. Use an HTML line break and then add your text, e.g.:

<img src= 'logo.png'><br>Text goes here

3 (edited by jeanlouis.gle 2012-05-21 13:13:34)

Re: Gallery title centered + subtitle

I'm interested by the trick. I would like to change the Title Name by my logo. I tried following your instruction, but it does not work. In my xml file this is my ligne for the Gallery Title, it works :
    galleryTitle="T H E A - D U C A M P"
(Thea Ducamp being the Name)
I changed it by :
galleryTitle="<img src= 'logo.png'>"
It does not work.
(Of course I have the file logo.png in the gallery folder)
So, to display my logo.png, what I have to do, to write, instead the name ?
Thanks in advance.

Re: Gallery title centered + subtitle

You can enter <img src= 'logo.png'> directly into the 'Gallery Title' text field if building your gallery with JuiceboxBuilder.
However, if entering the code directly into your gallery's XML file, you will need to escape the XML entites as described here. (The FAQ is in the SimpleViewer support section but the principle is the same for Juicebox.)
Therefore, the code in your 'config.xml' file would become:

galleryTitle="&lt;img src=&apos;logo.png&apos;&gt;"

5 (edited by jeanlouis.gle 2012-05-21 13:58:00)

Re: Gallery title centered + subtitle

8-) !!!
Very quick answer ! I'm impressed...
Thank a lot of, I will try immediately. Is it possible to know which place you are ? States ? Just to know the change time, b'cause I'm in Europe, france.
Thanks again Steven !

Added : It's works now, great !