內容簡介
TwentyTen佈景主題在超過3列的圖庫上會出現問題(同樣地,2列的圖庫看上去也有些奇怪)。這是一個簡單修正。
TwentyTen是WordPress的預設主題之一,它會移除來自WordPress圖庫的預設動態樣式,並添加一些靜態CSS,因此除了3列以外的任何列數的圖庫都會出現問題。这不是WordPress的錯誤,而是TwentyTen特有的問題。
什麼是問題?TwentyTen主題的CSS將所有圖庫項目的寬度設置為33%,因此任何超過3列的圖庫看起來都不正確(項目被放置到下一列),因為圖庫的總寬度超過帖子寬度(4 x 33%= 132%)。
此外掛將添加一些自定義的CSS類(例如4列:.width-25),解決寬度問題。
不需要進行任何配置。只需上傳和安裝。圖庫將看上去應有的樣子。
插件頁面
外掛標籤
開發者團隊
原文外掛簡介
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 is TwentyTen specific.
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
