Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kobofos

    (@kobofos)

    I’ve edited the header.php
    from <div class="header">
    to
    <div class="header" onclick="location.href='https://josharris.com/';" style="cursor: pointer;"></div>
    with no results.

    Thread Starter kobofos

    (@kobofos)

    Sorry I can’t figure it out.

    This is how my code locks right now in header.php located in /wp-content/themes/piano-black/ . (the favicon stuff is the only thing I tried to change so far.. dunno if that’s even right but it works.. nvm that)

    <div class="header" onclick="location.href='https://www.kobofos.se/';"
    style="cursor: pointer;"></div>
      <div id="pngfix-left"></div>
      </div>
      <div id="header">
    <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
       <?php if ($options['use_logo']) : ?>
       <div id="logo_image">
        <h1><a href="<?php echo get_option('home');?>/"><img src="<?php bloginfo('template_url'); ?>/favicon.ico" title="<?php bloginfo('name'); ?>" alt="<?php bloginfo('name'); ?>" /></a></h1>
       </div>

    So how do I make it clickable?
    Thanks!

    EDIT: Also, I took away the title that you fill out in the admin panel since I wanted my own text in the banner.

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