Forums

[resolved] How do I make my blog title not appear on my home page? (5 posts)

  1. dstarver
    Member
    Posted 2 years ago #

    I created a new graphic of my blog title. I inserted it, and it looks great. However WordPress automatically prints my blog title on the homepage. It is printing on top of the graphic that I created, and it looks terrible. Is there a way to hide the blog title so it doesn't show up on the homepage? Is there an "invisibility" command in WordPress?

    By the way, making the blog title print in the same color as the background won't work because the graphic that now makes up the background includes many different colors.

    Anyone know how to make my blog title disappear?

  2. henkholland
    Member
    Posted 2 years ago #

    Access your header.php through rhe Admin panel/Themes and delete this from within <div id="header">

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

    after making sure you have a backup of the original header.php from your theme.

  3. dstarver
    Member
    Posted 2 years ago #

    I don't see the line that you described. Here is my Header.php. What lines do I delete to make the blog title not show up on my main page? My header.php is as follows:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

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

    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style.css" type="text/css" media="screen" />

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <style type="text/css" media="screen">

    body{
    background: #fff url("<?php bloginfo('template_directory'); ?>/images/bodybg.gif");
    }

    #superheader{
    background: url("<?php bloginfo('template_directory'); ?>/images/superheaderbg.gif") top left repeat-x;
    }

    #header{
    background: #fff url("<?php bloginfo('template_directory'); ?>/images/headerbg.jpg") top center no-repeat;
    }

    #wrapper2{
    background: #fff url("<?php bloginfo('template_directory'); ?>/images/wrapperbg.gif") top right repeat-y;
    }

    .post h2{
    background: url("<?php bloginfo('template_directory'); ?>/images/dots.gif") left bottom repeat-x;
    }

    .menu ul li.widget ul li{
    background: url("<?php bloginfo('template_directory'); ?>/images/listbullet.gif") no-repeat 0 3px;
    }

    .menu ul li.widget ul li ul li{
    background: url("<?php bloginfo('template_directory'); ?>/images/listbullet.gif") no-repeat 0 1px;
    }

    </style>

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/utils.js"></script>

    <?php wp_head(); ?>

    </head>
    <body>

    <div id="wrapper">

    <div id="wrapper2">

    <div id="superheader"></div>

    <div id="header">

    <h3>/"><?php bloginfo('name'); ?></h3>
    <h2><?php bloginfo('description'); ?></h2>

    </div>

    <div id="tabs">

    • /">Home
    • <?php
      wp_list_pages('title_li=&sort_column=menu_order&depth=1'); ?>

    </div>

  4. henkholland
    Member
    Posted 2 years ago #

    7 lines from the bottom:

    <h3>/"><?php bloginfo('name'); ?></h3>
    <h2><?php bloginfo('description'); ?></h2>
  5. dstarver
    Member
    Posted 2 years ago #

    That worked. Thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.