Problem editing Wordpress Template, help appreciated

Discussion in 'HTML & Website Design' started by Scar, Oct 13, 2008.

  1. #1
    Hi there. I'm trying to customize a wordpress template, so that the header text and description is replaced with my logo. I got that to work by editing the code in "header.php", but now the navigation links (the menu) are appearing at the bottom right hand corner of the screen (should be up in the header on the right), and I can't for the life of me figure out what I'm doing wrong.

    Any help would be greatly appreciated. Here is the code in header.php as it is now:

    
    <!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 if ( is_single() ) { ?>
    &raquo; Blog Archive
    <?php } ?>
    <?php wp_title(); ?>
    </title>
    <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'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body>
    
    <div id="header">
       <a href="<?php bloginfo('url'); ?>"><img id="Image ID" src="(URL of my logo)" alt="Image Title" style="border: none ;" title="<?php bloginfo('name') ?>"/></a>
    		</div>
    		<div id="menu">
    <ul>
    				<li class="page_item<?php if (is_home()) echo ' current_page_item'; ?>"><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    				<?php wp_list_pages('title_li=' ); ?>
    			</ul>
    		</div>
    
    <hr />
    
    <div id="main">
    	<div id="main_inner" class="fixed">
    
    
    PHP:

     
    Scar, Oct 13, 2008 IP
  2. Providence

    Providence Peon

    Messages:
    568
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will need to have someone look at the stylesheets too.
     
    Providence, Oct 13, 2008 IP
  3. Scar

    Scar Peon

    Messages:
    439
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well since I haven't touched the stylesheet, I figured the problem is within header.php

    But if someone that thinks they can help me out wants to see the whole stylesheet I'll be happy to post that also
     
    Scar, Oct 13, 2008 IP
  4. caj

    caj Active Member

    Messages:
    748
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    75
    #4
    What's the url? Perhaps that's might tell something about the problem
     
    caj, Oct 13, 2008 IP