• 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.

    https://imgur.com/lbC34aK

    Website is: https://ghoststorm.co.uk

Viewing 15 replies - 1 through 15 (of 23 total)
Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Removing 'Whitespace' From Posts’ is closed to new replies.