• TheOneAndOnly

    (@theoneandonly)


    Sorry to bug y’all, but I wish I had a book which told me where everything is in WP. On this homepage–

    https://www.macliberals.com/wordpress/index.php

    — you see a banner on top of the page with my site logo and ‘hello’ blinking in and out. The banner is called header.gif and I know where it lives. What I can’t understand is which WP file it’s attached to. I do a VIEW PAGE SOURCE of index.php– that page it appears on– and no dice. UGH!

    What I want to do is turn the .gif into a link to itself, so that wherever you are in the blog a visitor can click the top image and return to the blog homepage.

    Thanks in advance~

    Jerome Howard

Viewing 5 replies - 1 through 5 (of 5 total)
  • zerok

    (@zerok)

    It’s probably in your index.php which you will have to open in a text editor (after downloading it via FTP) ??

    Moderator James Huff

    (@macmanx)

    If you’re using WP v1.5, it would be header.php. If you’re using WP v1.2.x, it would be index.php.

    Kafkaesqui

    (@kafkaesqui)

    Actually, it’s in your css (that is, wp-layout.css):

    #header {
    background: url(images/header.gif) no-repeat;
    height: 154px;
    width: 747px;
    margin: 0 auto;
    text-align: left;
    }

    A number of threads here cover this issue. Here’s one:

    https://www.ads-software.com/support/topic.php?id=19626

    Thread Starter TheOneAndOnly

    (@theoneandonly)

    Thanks all, but Kafka is right~~ it’s in the wp-layout.css. I didn’t know where it was, but I knew where it wasn’t.

    Kafka, the other thread didn’t seem a compelling and simple way to alter the code without getting mixed results. Hate to bother you but do you know the code I’d need to change in the .css to make this happen?

    Thanks all,

    TOAO

    Kafkaesqui

    (@kafkaesqui)

    My preferred method is to remove the image from css and add it into the header of the page. One of my page design pet peeves is using background images as links within divs or other tag elements. But I never let pet peeves stand in the way of solutions, so you could try this as your link (in your page template):

    <a href="<?php bloginfo('home'); ?>"><h1 id="header"> &nbsp; </h1></a>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help Making Top Banner A Link To Itself’ is closed to new replies.