• arunsethi

    (@arunsethi)


    This code is already on my header.php doc, shouldn’t you be able to click the image at the top of the page to get to the home page? Could someone advise me on how to get the image to link back? Much appreciated ??

    https://www.mortalmethods.com

    `<div id=”header”>
    <div id=”headerimg”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>`

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

    (@shadow)

    <?php bloginfo('name'); ?> to <?php bloginfo('url'); ?>

    This doesn’t seem to work. All it did was display the URL over my header background image. It was clickable, but didn’t look so good.

    Started with:
    <div id=”header”>
    <div id=”headerimg”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>

    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    </div>

    Tried:
    <div id=”header”>
    <div id=”headerimg”>
    <h1>/”><?php bloginfo(‘url’); ?></h1>

    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    </div>

    Didn’t work. Tried every variation I could possibly think of… nothing.

    Think it could have to do with this code?
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
    <?php } ?>

    tried changing bloginfo(‘stylesheet_directory’); ?> to bloginfo(‘url’); ?>. Didn’t create link and messed up the style.

    Hmmm…… Guess I need to brush up on my PHP… back to the drawing board.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link header to home… help!!’ is closed to new replies.