Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
4himcamperMember
Thank you. That appears to have corrected the issue.
4himcamperMemberI'm taking the style.css code with my tweaks for color and header size (1125 x 316) and the functions.php code with the following added php:
//* Remove the header right widget area unregister_sidebar( 'header-right' ); /********************************** * * Replace Header Site Title with Inline Logo * Fix Genesis bug - when using static front page and blog page (admin reading settings) Home page is <p> tag and Blog page is <h1> tag * Replace "is_home" with "is_front_page" to correctly display Home page wit <h1> tag and Blog page with <p> tag * * @author AlphaBlossom / Tony Eppright * @link http://www.alphablossom.com * ************************************/ add_filter( 'genesis_seo_title', 'abte_header_inline_logo', 10, 3 ); function abte_header_inline_logo( $title, $inside, $wrap ) { $logo = '<img src="' . get_stylesheet_directory_uri() . '/images/logo.png" width="1125" height="316" alt="' . esc_attr( get_bloginfo( 'name' ) ) . '">'; $inside = sprintf( '<a href="%s" title="%s">%s</a>', trailingslashit( home_url() ), esc_attr( get_bloginfo( 'name' ) ), $logo ); //* Determine which wrapping tags to use - changed is_home to is_front_page to fix Genesis bug $wrap = is_front_page() && 'title' === genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : 'p'; //* A little fallback, in case an SEO plugin is active - changed is_home to is_front_page to fix Genesis bug $wrap = is_front_page() && ! genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : $wrap; //* And finally, $wrap in h1 if HTML5 & semantic headings enabled $wrap = genesis_html5() && genesis_get_seo_option( 'semantic_headings' ) ? 'h1' : $wrap; return sprintf( '<%1$s %2$s>%3$s</%1$s>', $wrap, genesis_attr( 'site-title' ), $inside ); }
from their area in the yeshuart.net/test/genesis-sample and pasting them into their corresponding area in yeshuart.net/sherlockian/genesis-sample. I realized my issue with the right side header widget and got that corrected, but the header image is still not showing up as the correct size on anything but the front page on the sherlockian site. I even closed out the browser and restarted my computer as well as tried a different browser.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)