Support » Themes and Templates » Image with no desciption as header

  • I am trying to make my description not visible in the header but I think I need the description for search, etc. Can anyone tell me what I need to change?


Viewing 7 replies - 1 through 7 (of 7 total)
  • Is this the address of the site you are talking about?

    I see no description in the header, just the title and the graphic. And what do you mean you need to change the description for the search. To what? Find?

    Or do you mean that you don’t have a “title” set and so nothing appears at the top of the browser telling people what site and page they are visiting?

    You need to be a little more clear on what you are asking and then we can specifically address the issues you are having.

    I have no description because I want the image to be seen. I want to be able to have the name and description in the feed but not to show up on the header

    Place them in a div or span in your header, assign them a css class, and in your stylesheet give that class the following property:

    display: none;

    Display none for a text heading can sometimes put you in difficulty with search engines. I suggest either text indent or position absolute to put the heading way out of left field.

    I am somewhat of a newbie. Can you give me some instructions as to how to do this?


    In the header.php template file of the Theme you are using, look for <head profile=""> and below that type (check to see if it is already there in the section!!! Do not duplicate this if it is, but check to see that it is similar):

    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    This will put a “title” on your site that is not visible on your page but is on the feeds and in the top of your browser when you visit the page and serves as the file name if someone saves your page. It puts the “name of the blog hypen title of post” there.

    To put the name of your blog in the header, but not have the text visible, in the same file look for <h1> and see what it says. If it is not there, which is what I remember, then put it there and type ONE of the following two examples:

    <h1>My Blog Name</h1>

    <h1><?php bloginfo('name'); ?></h1>

    Now, in your style.css, do a search for “h1”. In that style reference, you can add “display:none” and the title will be “there” for search engines and accessibility readers, but it won’t show up on the screen.

    h1 { display:none;
    font-size: 4em;
    text-align: center;

    You can leave the rest or get rid of it, depending upon how it displays on your site. But I’ll leave that experimenting up to you.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image with no desciption as header’ is closed to new replies.