Descripció
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.
Captures
A gallery with 8 items, and 4 columns (150px thumbnails) – twentyTen default A gallery with 8 items, and 4 columns (150px thumbnails) – twentyTen fixed A gallery with 8 items, and 5 columns (100px thumbnails) – twentyTen default A gallery with 8 items, and 5 columns (100px thumbnails) – twentyTen fixed
Instal·lació
Upload TwentyTen Gallery Fix plugin to your blog. Activate it. Done!
Ressenyes
No hi ha ressenyes per a aquesta extensió.
Col·laboradors i desenvolupadors
"TwentyTen Gallery Fix" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.
ContribuïdorsTradueix “TwentyTen Gallery Fix” a la teva llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
- Version 1.0
- Initial version