Link from header image to homepage
-
my site is at https://maximusionsult.com
I’ve spent several hours searching through the forums and after lots of experimenting can’t seem to get this to work. I want a click on the header image to link back to the homepage. I know the change needs to be made in the header.php file… just can’t seem to get the code right. Here is the current code.
<div id="banner-bg" class="cf"> <div id="banner" class="row"> <div id="logo-area" class="col5"> <<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle"> <img style="float:left; margin-right:5px;" src="https://maximusionsult.com/logo-template-header.png" ><a href="<?php echo home_url"https://maximusionsult.com"; ?>"><?php bloginfo( 'name' ); ?></a> </<?php bfa_if_front_else( 'h1', 'h3' ); ?>> <p id="tagline"><?php bloginfo( 'description' ); ?></p> </div> <?php wp_nav_menu( array( 'container' => 'nav', 'container_class' => 'menu-wrapper col7', 'container_id' => 'menu1-wrapper', 'menu_id' => 'menu1', 'menu_class' => 'cf menu', 'theme_location' => 'menu1', 'fallback_cb' => 'bfa_page_menu' ) ); ?> </div> </div> <a href="<?php bloginfo( 'rss2_url' ); ?>" class="rsslink" title="<?php _e( 'Subscribe to RSS Feed', 'montezuma' ); ?>"></a> <div id="breadcrumbs1-bg"> <nav id="breadcrumbs1" class="breadcrumbs lw"> <?php bfa_breadcrumbs( 'breadcrumbs1' ); ?> </nav> </div>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Link from header image to homepage’ is closed to new replies.