Skip to content

Instantly share code, notes, and snippets.

@scottopolis
Last active March 16, 2019 20:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scottopolis/07c555b9dd0581497f0b to your computer and use it in GitHub Desktop.
Save scottopolis/07c555b9dd0581497f0b 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;
}
@A-312
Copy link

A-312 commented Mar 16, 2019

Thanks, this css works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment