Title: Removing &#039;Whitespace&#039; From Posts
Last modified: August 31, 2016

---

# Removing 'Whitespace' From Posts

 *  [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/)
 * I have removed the categories and comments link on posts and added the code to
   have a featured image show above the post title, here’s how I did that:
 * I added:
    `<?php get_template_part('inc/page-image'); ?>`
 * here:
 *     ```
       <section class="content">
   
       	<?php get_template_part('inc/page-image'); ?>
       	<?php get_template_part('inc/page-title'); ?>
   
       	<div class="pad group">
       ```
   
 * That was in single.php
 * However, now I am left with some ugly whitespace between the image and the post
   title…it seems that it is a seperate box compared to that of the title and that
   is not what I was after.
 * Is it possible to remove that whitespace so that it shows the image and then 
   immediately below that the post title?
 * Here’s a screenshot of the space I want removed.
 * [http://imgur.com/lbC34aK](http://imgur.com/lbC34aK)
 * Website is: [http://ghoststorm.co.uk](http://ghoststorm.co.uk)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/removing-whitespace-from-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/removing-whitespace-from-posts/page/2/?output_format=md)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916650)
 * Hi GhostStorm. Welcome to the Hueman forum. The space is a combination of margin,
   padding and the page-title element, which is empty. You can close up the space
   with this css:
 *     ```
       /* hide page title container */
       .single .page-title {
           display: none;
       }
   
       /* reduce margin below image */
       .single .content .page-image {
           margin-bottom: 10px;
       }
   
       /* reduce padding above content */
       .single .content .pad.group {
           padding-top: 0;
       }
       ```
   
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916659)
 * Won’t that code remove the post title too?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916687)
 * Nope, just the page title. The page title is normally at the top of the content
   area and usually contains the post categories. It’s now below the image container
   you added to single.php and it appears that you’re not using it since the normal
   ul/li elements are missing.
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916692)
 * I don’t want the post title to be removed, just the white space.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916701)
 * > Won’t that code remove the post title too?
   > Nope, just the page title.
 * The post title stays where it is.
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916736)
 * Ok so what is the Page Title?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916769)
 * See my second post above. For an example see the [Hueman demo](http://demo-hueman.presscustomizr.com/2013/10/31/the-importance-of-water-and-drinking-lots-of-it/).
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916835)
 * Oh I like how that post is presented, how would I copy that same thing.
 * The quote on the left and the share buttons too.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916844)
 * > how would I copy that same thing.
 * What is that you want to do with it? The theme generates that style and layout
   automatically.
 * > quote on the left and the share buttons too
 * The quotes are created using shortcodes included in the theme v2.2.5 that’s available
   on [the theme web site](http://presscustomizr.com/hueman/). The share buttons
   are also a theme option in that version.
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916845)
 * Ok will have to look into that I’m running the child theme ‘Being Hueman’ which
   I installed with Hueman from the WordPress theme thing via the dashboard & it’s
   quotes don’t look like that.
 * [http://ghoststorm.co.uk/deathmatch-mode-comes-to-dying-light-co-oppvp-update-for-dl-dev-tools-available-now-future-plans/#axzz3wvAazZyT](http://ghoststorm.co.uk/deathmatch-mode-comes-to-dying-light-co-oppvp-update-for-dl-dev-tools-available-now-future-plans/#axzz3wvAazZyT)
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916846)
 * When downloading the full version do I just upload it to overwrite Hueman lite?
   and will the Being Hueman theme work with the full version?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916847)
 * I haven’t used that specific child theme but, after looking at it, would expect
   it to work without any problems. This post should help for your upgrade:
    [https://wordpress.org/support/topic/why-isnt-hueman-153-on-wordpressorg-updating-to-the-latest-version-222?replies=3](https://wordpress.org/support/topic/why-isnt-hueman-153-on-wordpressorg-updating-to-the-latest-version-222?replies=3)
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916848)
 * Great I shall do that tomorrow I guess I’ll have to make changes to the themes
   code again to remove the categories/comment count showing on a post..along with
   removing white space left from making those changes?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916849)
 * > make changes to the themes code again
 * Depends on where you made the changes. If you have a child theme, and all the
   changes are there, then they should still be active after you replace the parent
   theme. If you changed the actual parent theme files then yes, you’ll have to 
   make the same changes again after you change the theme.
 *  Thread Starter [SingingTurnip](https://wordpress.org/support/users/ghoststorm/)
 * (@ghoststorm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/#post-6916853)
 * Yeah I edited single.php as I don’t know how to do the same thing with CSS.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/removing-whitespace-from-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/removing-whitespace-from-posts/page/2/?output_format=md)

The topic ‘Removing 'Whitespace' From Posts’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)
 * [Heuman](https://wordpress.org/support/topic-tag/heuman/)
 * [whitespace](https://wordpress.org/support/topic-tag/whitespace/)

 * 23 replies
 * 3 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/removing-whitespace-from-posts/page/2/#post-8585967)
 * Status: not resolved