I'm using Twenty Fifteen as a parent theme. The only thing in child styles.css is the CSS I pasted below.
I want to have a Featured Image (FI) in posts, but not display it in the posts, so that e.g. the Related Posts plugin uses the FI for a thumbnail.
The problem is SPACING. I've hidden the FI via CSS, but I can't get the spacing to behave exactly as it does with no FI selected.
This is the CSS that works:
.post.has-post-thumbnail .post-thumbnail {
display: none;
}
.single-post .attachment-post-thumbnail {
display: none;
}
.post.has-post-thumbnail {
padding-top: 4%;
}
I've adjusted padding-top, and I can get the hidden FI post to match the no FI post spacing for any one browser window size, but the spacing above the post title goes noticeably off with resizing, for example, from laptop to phone, the spacing increases.
I've tried removing twentyfifteen_post_thumbnail() from single.php, but that didn't solve it.
(Hope this isn't too specific and work for me for free-ish. If so, apologies!)