Announcement

#1 2006-04-02 02:19:47

mspt47
Member
2006-04-01
9

spacing between rows of thumbnails

I really like the "yoga" theme that comes with PWG 1.5.2, but I'm wondering if it is possible to increase the space between rows of thumbnails on the category page.  Or even better, make the spacing flexible depending on the length of the titles? The problem is, I have some very long titles underneath the thumbnails and some of them get cut off. Thanks!

Offline

 

#2 2006-04-02 05:45:37

xaviounet
Member
2005-05-11
58

Re: spacing between rows of thumbnails

Hi !

I posted an answer in the message by rene1 entitled "thumbnails much to big " at this address http://forum.phpwebgallery.net/viewtopic.php?id=6207
I think it's what you're looking for.

good luck

Offline

 

#3 2006-04-02 05:55:47

mspt47
Member
2006-04-01
9

Re: spacing between rows of thumbnails

Not quite ... that increases the width of the box surrounding the thumbnail (thus increasing the space between the columns), but doesn't increase the space the rows.

Offline

 

#4 2006-04-16 00:08:40

chrisaga
Former Piwigo Team
France (92)
2005-08-10
543

Re: spacing between rows of thumbnails

in content.css

Code:

#content UL.thumbnails SPAN.thumbLegend {
  font-size: 80%;    /* font size */
  height: 3em;      /* max legend height (don't set auto to be Geko friendly)*/
  display: block;    /* display: hide if you don't want legend */
  overflow: hidden;    /* oversized legend is clipped */
}

Just change the height value.
Setting this flexible produces side effects with some browsers so we gave up ...
untill browser world be more friendly.

<;o)


cepatre.net
Utilisateur depuis la version 1.3, Impliqué depuis la 1.4, Responsable du template des 1.5 et 1.6  ... et en (in)disponibilité sur la 1.7. J'ai fait l'impasse, et j'ai sauté directement en 2.2.2 !

Offline

 

#5 2006-04-16 05:21:40

mspt47
Member
2006-04-01
9

Re: spacing between rows of thumbnails

Thank you!!

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact