• Resolved worldsnapper

    (@worldsnapper)


    Hi all,

    As I am using an image for my blog header, I had to remove the blog title and tagline in the admin section (so it did not appear on top of the image). However now my rss feed page in untitled! Esmi advised me to add the title and tagline back again to solve the rss page title issue, but I do not want it visible on my blog! Any ideas?

    Many thanks,

    Andrew

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter worldsnapper

    (@worldsnapper)

    I forgot to mention that I am using the All-In-One SEO plugin, so Google is indexing the title and description from that.

    Andrew

    Michael

    (@alchymyth)

    usually the blog title is in an h1 tag in the header div; so depending on this (and the way your theme is designed) you could try to use these kind of styles in style.css:

    #header h1 { visibility: hidden; }
    or
    #header h1 { text-indent: -9999px; }

    the word #header and even h1 could be different in your theme.

    soothsayer

    (@soothsayer)

    Hi Andrew,

    Assuming that you’re using the default theme, you’ll need to manually edit the following file in order to remove the blog title and tagline.

    /wordpress/wp-content/themes/default/header.php

    I would strongly recommend creating a copy of this file before editing it, just in case something goes wrong.

    You can edit this from within WordPress (if the file permissions on your server will allow you) by going to Appearance->Editor within the WordPress admin interface. Or you can edit the file with a text editor like notepad.

    Basically you’ll want to find the following chunk of code in header.php:

    <div id="header" role="banner">
    <div id="headerimg">
        <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    
        <div class="description"><?php bloginfo('description'); ?></div></div>
    </div>

    And delete or comment out the following two lines:

    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    
    <div class="description"><?php bloginfo('description'); ?></div>

    Someone else might have a different / better solution, but as far as I can tell, this should do what you’re looking for without breaking anything else.

    Thread Starter worldsnapper

    (@worldsnapper)

    Thanks Soothsayer! I deleted out the 2 line you said (after making a backup of the code 😉 and all is working great.

    Thanks again!

    soothsayer

    (@soothsayer)

    You’re welcome! I’m glad that worked for you. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I hide my blog title?’ is closed to new replies.