Moderator
t-p
(@t-p)
edit header.php;
insert this before <hgroup>:
<img class="site-logo" src="<?php echo get_stylesheet_directory_uri(); ?>/images/site-logo.png" alt="site logo" />
Thread Starter
aasbd
(@aasbd)
I do not find <hgroup> in header.php. can any of you help to find it?
<header class=”header”>
<div class=”navbar navbar-inverse ” role=”navigation”>
<div class=”container”>
<?php if ( get_header_image() ) : ?>
<div id=”site-header”> ” rel=”home”> <img src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=””> </div>
the heasder.php of your child theme must have been modified in that section;
here is the area of an unedited header.php of Twenty Twelve:
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<header id="masthead" class="site-header" role="banner">
<hgroup>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
Thread Starter
aasbd
(@aasbd)
Thanks Alchymyth,I am using REDPRO theme but I could not find the HGROUP there. However I have added the logo but I am not sure how to add title after the logo. If you can help it will great.
for the twenty twelve theme in the header.php code listed above by alchymyth, would I put the image address where the / is in home_url( ‘/’ )?? Sorry. I am new and while I am comfortable with HTML, php is new and I do not see an img src tag. Thanks for any advice.
If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.
I am now closing this 10 month old topic.