Can someone … ANYONE please help?!?!
-
Hi, please forgive the post…I’ve spent DAYS trying to figure this out. Today was the day when I really thought I could get it, but I’ve been sitting at my computer all afternoon still with no progress. Everywhere I look, tutorials tell me that header information is contained within Header.php AND stlye.css… I just can’t even do something as simple as change my header image, get rid of the text, and turn the entire image into a link back to the main page, which is essentially the first step for me. All the example code in the tutorials doesn’t match the code that I have, so I can’t even figure out where to look. The file style.css contains two instances of #header and #headerimg … which one do I need to change??
Anyway, my current header.php code looks like this:
*/
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”https://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” /><title><?php wp_title(‘«’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></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=”alternate” type=”application/atom+xml” title=”<?php bloginfo(‘name’); ?> Atom Feed” href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><style type=”text/css” media=”screen”>
<?php
// Checks to see whether it needs a sidebar or not
if ( !empty($withcomments) && !is_single() ) {
?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
<?php } ?></style>
<?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
<?php wp_head(); ?>
</head>
<body>
<div id=”page”><div id=”header”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
<hr />—————————-
The WordPress codex tutorial tells me to look for code like this contained within the header.php file:
#header {
background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/wc_header.jpg”)
no-repeat bottom center; }
#headerimg {
margin: 7px 9px 0;
height: 192px;
width: 740px; }THIS CODE DOESN’T EVEN EXIST THERE! How can I change what’s not there? Is anyone else like me pulling their hair out over this?
Thanking anyone in advance for their help!
- The topic ‘Can someone … ANYONE please help?!?!’ is closed to new replies.