I'm trying to insert 6 thumbnails that link to their respective galleries into a page in my Drupal installation.
I've finally been able to get that to work, however.. it seems there's some sort of line break after each of the thumbnails, and I want them all lined up in 1 row
I'm using this format in the Drupal editor:
[G2:#] [G2:#] [G2:#] [G2:#] [G2:#] [G2:#]
Any help would be appreciated
Posts: 135
You have to use a css float style for this. Try [G2:# class=g2image_float_left], which is available by default (see gallery.css). But you can also specify any class here that is available in your theme (or define a new one for this purpose).
Posts: 12
That worked, thanks a bunch! Is there a list of which classes are available in the default? I'd really like it to be centered on the page instead of all the way to the left if possible.
I've grep'd gallery.css (modules/core/data/gallery.css) and don't see 'g2image' at all.. is there another gallery.css floating around somewhere I can find a list of which classes are available?
Posts: 135
Sorry for not being specific enough. There are gallery.css and gallery_filter.css in the gallery module folder for Drupal. I dont think we have a style where multiple images are on one line centered by default. Also - I'm no css expert - but I dont think it is possible without a centered wrapper div around the images!?
Posts: 12
Ah, thank you. Yeah, I didn't see one listed. The problem is that without a class=[something] right now, it's what I described initially, even with a centered wrapper div around it. With the float left, it's all on one line, but a centered wrapper div doesn't override it either.
At some point I suppose I'll have to code a new class