Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769.
git-svn-id: http://core.svn.wordpress.org/trunk@23700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
21c2d8662c
commit
24cf418767
|
@ -1366,6 +1366,13 @@ footer.entry-meta {
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-caption,
|
||||
.gallery-columns-8 .gallery-caption,
|
||||
.gallery-columns-9 .gallery-caption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 5.5 Post Formats
|
||||
* ----------------------------------------------------------------------------
|
||||
|
@ -2881,6 +2888,10 @@ footer.entry-meta {
|
|||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 643px) {
|
||||
|
|
Loading…
Reference in New Issue