• I’ve looked through this forum and have Google’d my brains out attempting to find a solution to my issue to no avail.

    I need to hide the title of my blog because I use a custom header and logo. I cannot seem to find a solution that works. I’m using a blog template that works nicely for my needs. All I need is to hide the title.

    FYI – I do not currently have a title indicated on my WordPress blog because I cannot hide it.

    If you’d like to have a look and offer any assistance, it would be greatly appreciated.

    Here’s the link: Speak Easy

Viewing 6 replies - 1 through 6 (of 6 total)
  • The easiest way is to edit your theme to not display the blog title. Chances are you are looking for a line in the headers.php file of your theme. You will need to remove the code that looks like ‘<?php bloginfo(‘name’); ?>’

    Thread Starter docsblog

    (@docsblog)

    grokcode,

    Thanks so much for the reply. In this theme template there is apparently no headers.php file and the code is not present in the header.css file either. ??

    Thread Starter docsblog

    (@docsblog)

    Anyone else?

    H1 docsblog!
    I think you could use the CSS attribute “text indent” to make the title disappear.
    it would look something like this:

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

    With this technique search engines would see the name of your site, but your users would see the image logo, which is very good.

    I just read that if your theme doesn’t have a header.php file then wordpress will use the default theme’s header.php file.

    This is my first contribution. Hope it helps.

    Bye!

    Thread Starter docsblog

    (@docsblog)

    wp-Guy,

    Thanks for the reply – tried that – didn’t work. ??

    I’m having a helluva time with this one.

    Thread Starter docsblog

    (@docsblog)

    Whew!

    I finally found the solution.

    The fix for this is to remove the line:

    <span class="blogname"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>

    …from the header.php page in your WP Include/Themes/(your theme) folder. (NOTE: The line above may not appear exactly as shown, but it will be very close). Don’t forget to upload the modified header.php page to your server.

    Then, add the following at the bottom of your style.css template in WordPress:

    #header h1 { display:none }

    At least this worked for me!

    ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hiding the blog title’ is closed to new replies.