Last active
February 23, 2017 04:52
-
-
Save neilgee/203adcead9912db5285de4412e10e5aa to your computer and use it in GitHub Desktop.
Genesis CSS Meta Selectors
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
<?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; | |
} |
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
.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