Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samjco/a114e090a211355b2dcbc6195bda0eed to your computer and use it in GitHub Desktop.
Save samjco/a114e090a211355b2dcbc6195bda0eed to your computer and use it in GitHub Desktop.
Styling for Display Posts Shortcode
/* Author: Scott Bolinger
* Author URI: http://apppresser.com
*
* Styling for Display Posts Shortcode plugin for use with the AppTheme. Add this code to a child theme style.css file.
* Plugin information: http://www.billerickson.net/shortcode-to-display-posts/
*
*/
ul.display-posts-listing {
list-style-type: none;
padding: 0;
}
li.listing-item {
clear: both;
margin: 10px 0;
overflow: hidden;
list-style: none;
padding: 15px;
border: 1px solid #eee;
}
li.listing-item a.image {
float: left;
margin-right: 15px;
}
li.listing-item a.title {
font-weight: bold;
}
li.listing-item span.excerpt-dash {
display: none;
}
li.listing-item span.excerpt {
clear: right;
display: block;
margin-top: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment