Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danielbrinneman/ecf54f668295e1e7d610e4794c59ee7e to your computer and use it in GitHub Desktop.
Save danielbrinneman/ecf54f668295e1e7d610e4794c59ee7e to your computer and use it in GitHub Desktop.
/* Place DIV around both images to target the two inside */
<div class=“tbp-images”>
<p><a…<img… </a></p>
<p><a…<img… </a></p>
</div>
/* Custom CSS on your theme */
.tbp-images img {
float: left;
width: 48%;
}
.tbp-images img .wp-image-400 {
margin-right: 2%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment