• Hi – my theme displays a header image instead of a title text, because I have removed the title text from the “Options/General” section.

    However, I noticed that – for example – Technorati doesn’t display a title for my Blog.

    If I enter a title into “Options/General” it is displayed on top of my header title image, which is not what I want.

    Can someone tell me how I can type in a title, but NOT have it display on top of my header image?

    Thanks so much for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • This is what I have on one blog:

    <div id="header"><h1 class="bloginfo"><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?>&nbsp;</a></h1> in the header.php file.

    And this in style.css:

    #header h1 {
    margin:0;
    padding:0;
    position:absolute;
    font-size:0;
    left:-2000px;
    }

    That should still get your title showing in Technorati (though I don’t do them so don’t know for sure).

    Alternatively, you can simply style the header h1 as display:none; which should accomplish the same thing I think (unless for some reason it doesn’t get picked up in the source display).

    vkaryl: so how does someone click on that link in your header? You haven’t given a width or height to the link and you’ve zoomed the text off the screen. Do you mean for your visitors to make use of the link up there? Just curious.

    clan55: I stumbled across this last night and thought it a good explanation of how to do this. I knew it would come in sooner or later and here we are:
    http://sunburntkamel.wordpress.com/2006/08/15/custom-header-in-css/

    Nice and easy.

    Thread Starter clan55

    (@clan55)

    Yep, the “display: none;” works, thanks! Will see how Technorati picks it up (or not).

    Cheers!

    tsguitar – no, the header graphic itself is a link. The h1 info is simply there to provide a “hook” for entities which expect to find an h1.

    Got it. So you have a different styling for #header h1 a, then?

    Yes. Sometimes the header a surrounds a separate logo graphic, sometimes the whole header graphic; depends on the design.

    I see. Thanks for the tangent.

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

The topic ‘Removing title header’ is closed to new replies.