Support » Fixing WordPress » Header missing only in single.php

  • My banner doesn’t show on single.php pages. I can’t understand it, but I can say that since it was about 2 weeks since my last attempt at redesign, the OLD header was just a background image, no clickability at all (it was set in style.css as a url background thing). However, since it’s been a while, I don’t remember HOW, but apparently I set that background header in a way that covered up the actual header.

    My site is:

    I “HAD” thought that I simply took off the clickable image in header.php, but as I checked it tonight it was still there, but wasn’t visible for some reason.

    I ignored this point, took of the url background image in the css, and changed my banner image, now everything works except for in single.php.

    I hope my description of the events made sense but here’s my code bits:


    /* THE HEADER */
    #header {
    	width: 850px;
    	margin: 0 auto;
    	background: #6e86ad;
    	.description {
    		margin: -3px 0 0 0;
    		padding: 0px 0 10px 30px;
    		color: #999;
    		font-family: 'Times New Roman', serif;
    		font-size: 14px;
    		font-style: italic;
    		letter-spacing: 2px;

    Single.php (The relevant portions, I think)

    <?php get_header(); ?>
    <div id="page">
    	<div id="column">
    		<?php global $comiccat; if (in_category($comiccat)) { while (have_posts()) : the_post(); ?>
    			<div id="comic">
    <div class="nav">


    <head profile="">
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
    	<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Archive <?php } ?> <?php wp_title(); ?></title>
    	<?php wp_head(); global $comiccat; ?>
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<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'); ?>" />
    <div id="header">
    	<a>"><img src="images/banner120.png"></a>
    <div id="menubar">
    	<div id="menu">
    			<?php wp_list_pages('title_li='); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Don’t use BBcode. Just click on that CODE button (after highlighting your code)!

    Thanks for fixing that, problem still unresolved.

    I’m seeing the header just fine on *all* the pages – well, all the pages are showing the same thing to me anyway. Maybe it’s a browser issue. What browser are you using? I’m on Mac OSX FF3.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header missing only in single.php’ is closed to new replies.