Twenty Thirteen: ensure galleries are displayed correctly (centered) on both single and indexed views, props obenland. See #24307.
git-svn-id: https://develop.svn.wordpress.org/trunk@24285 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
51c0ca1932
commit
ab27644710
@ -1244,10 +1244,10 @@ footer.entry-meta {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.single .gallery-columns-1.gallery-size-medium,
|
.gallery-columns-1.gallery-size-medium,
|
||||||
.single .gallery-columns-1.gallery-size-thumbnail,
|
.gallery-columns-1.gallery-size-thumbnail,
|
||||||
.single .gallery-columns-2.gallery-size-thumbnail,
|
.gallery-columns-2.gallery-size-thumbnail,
|
||||||
.single .gallery-columns-3.gallery-size-thumbnail {
|
.gallery-columns-3.gallery-size-thumbnail {
|
||||||
display: table;
|
display: table;
|
||||||
margin: 0 auto 20px;
|
margin: 0 auto 20px;
|
||||||
}
|
}
|
||||||
@ -1532,6 +1532,7 @@ footer.entry-meta {
|
|||||||
.archive .format-gallery .gallery,
|
.archive .format-gallery .gallery,
|
||||||
.search .format-gallery .gallery {
|
.search .format-gallery .gallery {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
margin-left: -4px;
|
||||||
max-width: 608px;
|
max-width: 608px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user