header confusion
-
I have tried clearing my cache and restarted notepad++ multiple times, but the header keeps displaying certain things, while ignoring others. It’s also not displaying the background color from the style.css, which does load. I have verified this by adding a 2 pixel red border to the header div to see if it loads properly. I have also tried activating other themes and going back, but it still does not work.
Here is the code I have.
index.php calling header first lines<?php /** * @package WordPress * @subpackage Fairlight */ get_header(); ?> <!-- End Header -->
——————————————–
Actual code from header.php<?php /** * @package WordPress * @subpackage Default_Theme */ ?> <html> <head> <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> </head> <body> <!-- Begin Wrapper --> <div id="wrapper"> <!-- Begin Header --> <div id="header"> <div> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div> </div>
————————————————————-
From view source:<html> <head> <title> my titile</title> <link rel="stylesheet" href="https://localhost/wordpress-2.7/wordpress/wp-content/themes/elevate/style.css" type="text/css" media="screen" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://localhost/wordpress-2.7/wordpress/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://localhost/wordpress-2.7/wordpress/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 2.7" /> <style type='text/css'> <!--#header { background: url('https://localhost/wordpress-2.7/wordpress/wp-content/themes/elevate/images/header-img.php?upper=27277F&lower=3F2F2F') no-repeat bottom center; } --></style> </head> <body> <!-- Begin Wrapper --> <div id="wrapper"> <!-- Begin Header --> <div id="header"> <div> <h1><a href="https://localhost/wordpress-2.7/wordpress/">Elevate</a></h1> <div class="description">Tagline</div> </div> </div>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘header confusion’ is closed to new replies.