Viewing 3 replies - 1 through 3 (of 3 total)
  • Wrap each section in a div, assign each div an appropriate width, and have all 3 div’s float: left That will put them side by side

    Hi,

    To make the header clickable we need to modify header.php file of current active wordpress theme. For the code modification refer this article:

    https://www.bestwpthemez.com/wordpress/how-to-make-header-clickable-in-wordpress-blog-1674/

    Thanks,

    Shane G.

    I’m also trying to make my header clickable (link to my home), but header.php looks a bit different with the theme I’m using.

    This is how it looks normally:

    <div id="page">
    <h1 id="header">
    
    	<a>/">
    	<?php bloginfo('name'); ?>
    	</a>
    
    	<div id="description">
    		<?php bloginfo('description'); ?>
    	</div>
    </h1>

    And this is what I changed it to:

    <div id="page">
    	<a href="<?php echo get_option('home'); ?>/">
    <h1 id="header">
    
    	<?php bloginfo('name'); ?></a>
    
    	<div id="description">
    		<?php bloginfo('description'); ?>
    	</div>
    </h1>

    Unfortunately it doesn’t work. I haven’t the slightest how to get it working. Could someone help me out? What should I change?

    Thanks in advance!

    Niek

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding clickable images in header’ is closed to new replies.