Header Image link
-
This is my header file. I have placed an image in the header ID in the CSS file. And i want the image to link back to home, back to itself.
CSS
}
#header {
text-indent:-1000px;
letter-spacing: -0.1em;
font-family: “Courier New”, Courier, monospace;
font-size: 120px;
font-weight: lighter;
background-image: url(header.png);
padding: 0px;
margin-left: 45px;
background-repeat: no-repeat;
}HEADER.PHP
<?php
/**
* @package WordPress
* @subpackage Classic_Theme
*/
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”http://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>
<style type=”text/css” media=”screen”>
@import url( <?php bloginfo(‘stylesheet_url’); ?> );
</style><link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<div id=”rap”>
<h1 id=”header”>/”><?php bloginfo(‘name’); ?></h1><div id=”content”>
<!– end header –>
<div id=”navmenu”></div>
- The topic ‘Header Image link’ is closed to new replies.