How to remove the Header?
-
Actually working with WordPress works really fine for me.. but there’s one thing I just can’t get done.
On our Site, http://www.dinner-jones.de/ .. there’s basically an empty header (below the Top Navigation and the start of the content / the image Gallery on the Start Page). The “header” on the page is just a thesis hook before the header and Navigation.
In the end, it’s just a gap. How can I remove that gap? so that the Content starts right below the Top Navigation?
It’s WordPress 2.9.1, and we’re using the Thesis Theme.
-
thanks chinmoy29.
Maybe Thesis looks quite different there then.. the header.php looks like this
Looks like every line I remove here kinda crashes the site..
# Added to appease certain plugins which check for this code in this file:
# wp_head();
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”http://gmpg.org/xfn/11″>
<title><?php thesis_output_title(); ?></title>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?php wp_head(); ?>
</head>
<body<?php thesis_body_classes(); ?>>
<?php thesis_hook_before_html(); ?>
code is coming from this function
thesis_hook_before_html(). Check this.Thanks again chinmoy29. The hook actually only holds the Code for the image on the very Top of the page, which isn’t the header in the end.
But you brought me on the right track somehow, the css for the header is defined in the thesis/custom/layout.css .. where i could reduce all the margins, and now it’s fine.
Thanks again
The topic ‘How to remove the Header?’ is closed to new replies.