Support » Fixing WordPress » Make a div clickable

  • groochy


    I’m working for a group of schools and I have to make their websites.

    Everything works but only one thing is not working and i spend almost to much time already to find a solution…

    In need the logo in the upper left corner of the site to be clickable. this one of the sites i made.

    any help would be welcome.

    thx !

Viewing 2 replies - 1 through 2 (of 2 total)
  • you’ve placed logo as background image of div.
    replace the code with this code and style it. this is the common structure of clickable logo.

    <h1><a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo( 'name' ); ?>"><img alt="<?php echo get_bloginfo( 'name' ); ?>" src="img path" /></a></h1>



    Hello Sumit

    Thx for the reply, i tried it but is still doesn’t work (probably i’m doing something wrong).

    Here the link to my header.php

    I copied your code and my code is also there…

    Can you help me plz?


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make a div clickable’ is closed to new replies.