[wp-testers] Galley Thumbnail Spacing Issues

Alexander Beutl xel at netgra.de
Sun Apr 27 07:36:54 GMT 2008


Nope you're wrong this time...

The "width: 33%" messes this up this time.
You 'll find it not in the head but in front of the gallery.

<style type='text/css'>
> .gallery {
> margin: auto;
> }
> .gallery-item {
> float: left;
> margin-top: 10px;
> text-align: center;
> width: 33%; }
> .gallery img {
> border: 2px solid #cfcfcf;
> }
> .gallery-caption {
> margin-left: 0;
> }
> </style>
>

This code can be changed or deleted via the gallery_style Filter (you can
use that in the templates functions.php)
See wp-includes/media.php.

2008/4/26, Jennifer Hodgdon <yahgrp at poplarware.com>:
>
> Daniel Schoonover wrote:
>
> > I'm having some issues with the Gallery when I add a gallery to my post.
> > The
> > spacing of the images is never correct. [...]
> >
>
> You should be able to fix this in the style.css file of your theme. From
> what I can see of those two examples, the issues are coming from your
> theme's CSS and not anything "hard-wired" in the gallery itself.
>
>    --Jennifer
>
> --
> Jennifer Hodgdon * Poplar ProductivityWare
> www.poplarware.com
>
> Drupal/WordPress Sites, Themes, Modules/Plugins
> Custom Web Programming, Web Databases
> Modeling/Analysis/Palm OS Software
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list