Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author iografica

    (@iografica)

    Hi, why you don’t use logo upload instead of header image?

    Thread Starter Lauramur

    (@lauramur)

    Hi,
    Thanks for the tip! I tried to upload via the theme options section but logo didn’t show on my site.

    Thread Starter Lauramur

    (@lauramur)

    Nevermind, I figured it out myself.
    For anyone else who’s interested:

    add:
    onclick="location.href='http://www.YOURSITEHERE.com';" style="cursor: pointer;"></div>
    to line 28 of the header.php (in a child theme of course!).

    So now the whole header-image section should look like:
    ` <?php if ( get_header_image() ) : ?>
    <img src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=”” class=”header-image” onclick=”location.href=’http://www.YOURSITEHERE.com&#8217;;” style=”cursor: pointer;”></div>
    <?php endif; // End header image check. ?>

    As someone who knows NOTHING about coding or anything at all I would like to say BOO YEA!

    Theme Author iografica

    (@iografica)

    Glad to hear this.
    Logo doesn’t work because you have made a custom header and doesn’t have copied logo code in origin header.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make header link to homepage?’ is closed to new replies.