Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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