Last active
March 16, 2019 20:51
-
-
Save scottopolis/07c555b9dd0581497f0b to your computer and use it in GitHub Desktop.
Styling for Display Posts Shortcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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
Thanks, this css works fine.