Could somebody help me with my wordpress header?

Status
Not open for further replies.

healing4thebody

New Member
Messages
12
Reaction score
0
Points
0
I have installed a wordpress blog in which I have replaced the banner.jpg of the template. For some reason the name of the blog and the description I entered when I installed the blog is still showing up over the banner.jpg file that I changed. Here is what it looks like . . .

http://healing4thebody.x10hosting.com/

How do I get the name and description which are overwriting on top of my banner remover.?

Do I edit the header.php file? If so what do I change? Here is the html for the header.php file . . .

<!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">
<head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<?php wp_head(); ?>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" 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'); ?>" /></head>
<body><div id="mainbody"><img src="<?php bloginfo('template_directory'); ?>/images/topbar.gif" alt="" /><br />
<div id="banner">
<div id="bannertitle"><br /><h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1><span id="subtitle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php bloginfo('description'); ?></span><br /></div></div><div style="padding: 5px;">
<!-- put your ads here //--><br /></div>

Any help that anyone could give me would be greatly appreciated.
 

fqmyself

New Member
Messages
14
Reaction score
1
Points
0
Replace the corresponding part of the code
<!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">
<head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<?php wp_head(); ?>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" 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'); ?>" /></head>
<body><div id="mainbody"><img src="<?php bloginfo('template_directory'); ?>/images/topbar.gif" alt="" /><br />
<div id="banner">
<div id="bannertitle"><br /><h1></h1><span id="subtitle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br /></div></div><div style="padding: 5px;">
<!-- put your ads here //--><br /></div>
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
I recommend removing the div id bannertitle entirely since there's nothing in there after the code changes fqmyself mentioned.

Code:
<div id="bannertitle"><br /><h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1><span id="subtitle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php bloginfo('description'); ?></span><br /></div>

The above code snippet should be removed.

In the end, the code would be:

Code:
<!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">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<?php wp_head(); ?>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" 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'); ?>" />

</head>

<body><div id="mainbody"><img src="<?php bloginfo('template_directory'); ?>/images/topbar.gif" alt="" /><br />

<div id="banner"></div>

<div style="padding: 5px;"><!-- put your ads here //--><br /></div>
 
Last edited:

healing4thebody

New Member
Messages
12
Reaction score
0
Points
0
Thank you so much fqmyself and techairlines for your help. The suggestion you offerred techairlines did the trick. Once again I really appreciate your taking the time to help me.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
Guys, one thing, use the [ CODE] or [ HTML] or [ PHP] tags. It makes your posts way cleaner and preserves formatting.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Your problem is solved Now. So I am going to close this thread to mark it as resolved. Feel free to create a new thread if you need more help.

***Thread Closed***
 
Status
Not open for further replies.
Top