header images were showing up on the search results page, removed that. removed the footer
tag from the search results page.
.search-results #blog-posts-over .search-result-container .search_result_context {
margin: 0;
padding: 0;
- line-height: 1.3; }
+ line-height: 1; }
.search-results #blog-posts-over .search-result-container article p {
margin: 0;
padding: 0; }
function glm_get_header() {
echo '<div';
- if (has_post_thumbnail()) {
+ if (has_post_thumbnail() && !is_search()) {
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
echo ' style="background-image: url('.$image_data[0].');height:250px;padding:0;background-position:top center;background-repeat:no-repeat;max-height: 250px;overflow: hidden; "';
} else {
.search_result_context{
margin: 0;
padding: 0;
- line-height: 1.3;
+ line-height: 1;
}
article{
p{