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: http://blackrussiancomics.com
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:
Style.css
/* 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">Header.php
<head profile="http://gmpg.org/xfn/11"> <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » 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'); ?>" /> </head> <body> <div id="header"> <a>"><img src="images/banner120.png"></a> </div> <div id="menubar"> <div id="menu"> <ul> <li><a>">Home</a></li> <?php wp_list_pages('title_li='); ?> <li><a>">Subscribe</a></li> </ul> </div> </div>
The topic ‘Header missing only in single.php’ is closed to new replies.