TwentyTen theme will break galleries with more then 3 columns (also 2 columns galleries look strange). This is a little fix.
Author: | Dan-Lucian Stefancu (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 3.0.5 |
Plugin version: | 1.0 |
Added to WordPress repository: | 02-02-2011 |
Last updated: | 02-02-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www.decetutorial.net/2011/01/twentyten... |
Total downloads: | 1 973 |
Active installs: | 10+ |
Click to start download |
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.
Screenshots
ChangeLog