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.
Website is: https://ghoststorm.co.uk
- The topic ‘Removing 'Whitespace' From Posts’ is closed to new replies.