Definition:
function twentyten_admin_header_style() {}
Styles the header image displayed on the Appearance > Header admin panel.
Referenced via add_custom_image_header() in twentyten_setup().
Source code
function twentyten_admin_header_style() {
?>
<style type="text/css">
/* Shows the same border as on front end */
#headimg {
border-bottom: 1px solid #000;
border-top: 4px solid #000;
}
/* If NO_HEADER_TEXT is false, you would style the text with these selectors:
#headimg #name { }
#headimg #desc { }
*/
</style>
<?php
}
3093

February 12, 2011 


No comments yet... Be the first to leave a reply!