Viewing 3 replies - 1 through 3 (of 3 total)
  • To remove the featured image on all single posts and reduce the height of the entry header, you could try something like this:

    .single .entry-thumbnail {
      display: none;
    }
    
    .single .entry-header {
      height: 140px;
    }

    Thanks for the tip, Kathryn.

    Unfortunately, the height of the header title is variable depending on the length of the text, so that div needs to automatically snug around the header.

    Your suggested absolute height on .single .entry-header does override a larger absolute height, but it doesn’t vary depending on the height of the text.

    I tried this…

    .single .entry-header {
    height: auto;
    }

    … but then that container squeezes down to 0 hiding the title text it encloses.

    How to make the div variable and snugged around the enclosed text?

    TIA 🙂

    Hi Jay, would you mind providing a link to your site so I can take a look at what’s going on directly?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Delete featured image from post header’ is closed to new replies.