WordPress.org

Forums

Header missing only in single.php (4 posts)

  1. Phillyzero
    Member
    Posted 6 years ago #

    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() ) { ?> &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'); ?>" />
    </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>
  2. moshu
    Member
    Posted 6 years ago #

    Don't use BBcode. Just click on that CODE button (after highlighting your code)!

  3. Phillyzero
    Member
    Posted 6 years ago #

    Thanks for fixing that, problem still unresolved.

  4. Doodlebee
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic