Modify Site Title

If you want to change or modify the site title (e.g. add special chars, add css, …) when using the Genesis framework:

remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
add_action( 'genesis_site_title', 'snippet_site_title' );

function snippet_site_title() {
    echo '<h1 id="title"><span>Custom</span> Title</h1>';
}