Skip to content

Instantly share code, notes, and snippets.

@neilgee
Last active February 23, 2017 04:52
Show Gist options
  • Save neilgee/203adcead9912db5285de4412e10e5aa to your computer and use it in GitHub Desktop.
Save neilgee/203adcead9912db5285de4412e10e5aa to your computer and use it in GitHub Desktop.
Genesis CSS Meta Selectors
<?php //<~ don't add me in
// Customize entry meta header
add_filter( 'genesis_post_info', 'themeprefix_post_info_filter' );
function themeprefix_post_info_filter( $post_info ) {
$post_info = '[post_date] [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}
.entry-time::before {
content: '\f469';
font-family: dashicons;
color: #666;
font-size: 25px;
padding-right: 5px;
vertical-align: middle;
}
.entry-author::before {
content: '\f110';
font-family: dashicons;
color: #666;
font-size: 25px;
padding-right: 5px;
padding-left: 10px;
vertical-align: sub;
}
.entry-comments-link::before {
content: '\f101';
font-family: dashicons;
color: #666;
font-size: 25px;
padding-left: 10px;
vertical-align: middle;
}
.entry-categories::before {
content: '\f322';
font-family: dashicons;
color: #666;
font-size: 25px;
padding-right: 5px;
vertical-align: middle;
}
.entry-tags::before {
content: '\f323';
font-family: dashicons;
color: #666;
font-size: 25px;
padding-right: 5px;
vertical-align: sub;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment