Skip to content

Instantly share code, notes, and snippets.

@mrwweb
Created October 14, 2015 17:31
Show Gist options
  • Save mrwweb/c4c7dc358a511a079a53 to your computer and use it in GitHub Desktop.
Save mrwweb/c4c7dc358a511a079a53 to your computer and use it in GitHub Desktop.
Display Full Caption in Jetpack Tiled Gallery [WordPress]
/**
* SHOW JETPACK FULL CAPTION
*/
/* specificity hack to override Jetpack's styles */
.tiled-gallery-caption.tiled-gallery-caption {
width: auto;
bottom: 2px;
left: 2px;
right: 2px;
padding: 10px;
text-indent: 0;
white-space: normal;
text-overflow: initial;
/* Optional: persistently visible captions */
/* display: block !important; */
/* Optional: white text on black */
/*
background: rgba(0,0,0,.8);
color: #fff;
*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment