Thumbnail menu, tooltips vertical alignment -SOLVED

Q&A about the latest versions
Post Reply
User avatar
Julien
Posts: 55
Joined: Sat Sep 28, 2019 7:05 pm

Hello everybody,

Using the Thumbnail Menu element, I'm scratching my head on how to: vertically align the panos titles?
So, if the title of a pano is composed with a few or many characters, this title will automatically be vertically aligned to its pano thumbnail.

I've tried adding the below code onto the Styles CSS of the text element, but that did not worked.

Code: Select all

vertical-align: middle;
I only arrived to vertically align a title.. when using enough characters :?

Thanks for tips & help,
Julien
Attachments
Capture d’écran 2019-12-07 à 12.07.38.jpg
Capture d’écran 2019-12-07 à 12.07.38.jpg (98.35 KiB) Viewed 1301 times
Last edited by Julien on Mon Dec 09, 2019 5:33 am, edited 1 time in total.
Mac, pro version always updated :)
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Add the following to the CSS Styles Inner Element of the text box.

Code: Select all

display: flex;
justify-content: center; /* align horizontal */
align-items: center; /* align vertical */
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Julien
Posts: 55
Joined: Sat Sep 28, 2019 7:05 pm

Thank you Mr Hopki, that works.

This level of CSS coding is completely off of my skills :(

Great support!
Julien
Mac, pro version always updated :)
Post Reply