[SOLVED]Gallery works, but thumbnails don't wrap properly into rows

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
corn4th
Forum Members
Forum Members
Posts: 24
Joined: Tue Nov 10, 2009 6:08 pm

[SOLVED]Gallery works, but thumbnails don't wrap properly into rows

Post by corn4th »

Hi,

I have everything else the way I want it, but can't get the thumbs to line up in rows properly. Even when I significantly reduce the size of the thumbs, they still wrap one or two images below the row on the right end, then the next row starts below those. It looks really ugly!! I am wondering if it is related to the fact that my images are not all the same exact size and shape, but I hope not, since this would be nearly impossible for me to do. Since I am using the same template throughout, all of my albums have the same issue. Here are a couple of the worst offenders:

http://www.dmdecos.com/gallery/92/

http://www.dmdecos.com/gallery/glasstile/92/

I hope this makes sense...

Thanks for any help!
Last edited by corn4th on Thu Dec 24, 2009 6:28 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Gallery works, but thumbnails don't wrap properly into rows

Post by Dr.CSS »

The first page you linked to gave a lot of error/warnings, and the images lined up fine...

Yes your problem comes from different height thumbs/images so in the css you can figure out your tallest image including the text and add it to the .gallery .img call like height:250px may work...
corn4th
Forum Members
Forum Members
Posts: 24
Joined: Tue Nov 10, 2009 6:08 pm

Re: Gallery works, but thumbnails don't wrap properly into rows

Post by corn4th »

Apologies on the first page, I had deleted a default image from the server and forgot to go choose a new default. Your suggestion worked great, thank you so much!!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [SOLVED]Gallery works, but thumbnails don't wrap properly into rows

Post by Dr.CSS »

Good...

And thank you for adding [solved] to first subject line, something even long time posters forget to do...
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: [SOLVED]Gallery works, but thumbnails don't wrap properly into rows

Post by Jos »

corn4th wrote: I am wondering if it is related to the fact that my images are not all the same exact size and shape, but I hope not, since this would be nearly impossible for me to do.
Especially for this reason I included the crop function in the resize options.  8)
Post Reply

Return to “Layout and Design (CSS & HTML)”