Clickable Header with custom theme
-
Hello- Woulkd someone know how to make the whole header area a link to homepage? I’m using a custom theme and things are a bit different with the code- in my header.php the code looks like so
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php wp_head(); ?>
</head>
<body>
<div class=”page”>
<div class=”header”>
<h1>“><?php bloginfo(‘name’); ?></h1>
<h2 class=”blog-description”><?php bloginfo(‘description’); ?></h2>
</div>Not wuite sure what to change here.
Also, I’m not sure if I did this right, but I was trying to hide the header description text and I changed the margin in the following ‘style.php’ to -1900, was that the right spot to do so?
body {
background-color:<?php tiga_bodyBgColor(); ?>;
font-family:<?php tiga_getValue(‘bodyFontFamily’); ?>;
margin:0px;
padding:0px;
text-align:center;
<?php tiga_bgImage(‘body’); ?>
background-attachment:fixed;
}h1 {
margin:-1900px;
padding:0px;
}
- The topic ‘Clickable Header with custom theme’ is closed to new replies.