Search Over 18,000 FREE Plugins from the Official WordPress Plugin Directory Repository

TwentyTen Gallery Fix

TwentyTen theme will break galleries with more then 3 columns (also 2 columns galleries look strange). This is a little fix.

TwentyTen theme will break galleries with more then 3 columns (also 2 columns galleries look strange). This is a little fix.

TwentyTen, the default WordPress theme, removes the default dynamic styles from WordPress galleries, and adds some static CSS, so galleries with anything but 3 columns look broken. It’s not a WordPress bug, it is TwentyTen specific.

What is the problem? TwentyTen theme’s CSS sets all the gallery items width to 33%, so any gallery with more then 3 columns looks broken (the items are thrown on the next row), as the the total width of the gallery excedes the post width (4 x 33% = 132%).

This plugin adds some custom classes to galleries (eg. 4 columns: .width-25), and some CSS that fixes the width problem.

No configuration needed. Just upload, and install. The galleries will look as they should.

Plugin's page

Author Dan-Lucian Stefancu
Profile
Contributors de-ce
Tags galleries, gallery, image, images, media, photo
  1. twentyten-gallery-fix screenshot 1

    A gallery with 8 items, and 4 columns (150px thumbnails) – twentyTen default

  2. twentyten-gallery-fix screenshot 2

    A gallery with 8 items, and 4 columns (150px thumbnails) – twentyTen fixed

  3. twentyten-gallery-fix screenshot 3

    A gallery with 8 items, and 5 columns (100px thumbnails) – twentyTen default

  4. twentyten-gallery-fix screenshot 4

    A gallery with 8 items, and 5 columns (100px thumbnails) – twentyTen fixed

Upload TwentyTen Gallery Fix plugin to your blog. Activate it. Done!

  • Version 1.0
    • Initial version
Share  
Download
Version 1.0

Requires WordPress version: 3.0 or higher

Compatible up to: 3.0.5

Last Updated 02 Feb 2011

Date Added: 02 Feb 2011

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
952 downloads

Compatibility

Not Enough Data

Reports:
Works: 1
Broken: 0