Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you made it a hyperlink already?

    Thread Starter dgissen

    (@dgissen)

    No; I can’t seem to figure i out.
    I inserted this bit in the header.php of my child theme:

    <img class=”site-logo” src=”<?php echo get_stylesheet_directory_uri(); ?>/images/site-logo.png” alt=”site logo” />

    I’m too much of a noob to figure out where to put the href = “…” bit.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try this;

    <a href="/">
     <img class="site-logo" src="<?php echo get_stylesheet_directory_uri(); ?>/images/site-logo.png" alt="site logo" />
    </a>

    https://www.w3schools.com/html/html_links.asp

    Thread Starter dgissen

    (@dgissen)

    Thanks! that worked perfectly!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[theme: twentytwelve] replaced title with image – code to click home?’ is closed to new replies.