• Resolved mulva

    (@mulva)


    I’d like to remove the featured image from each individual post so the top of the post is the post title. The image size is huge and redundant to what’s included in the post.

    I’ve located it in the html source code, but am not familiar enough with php to remove it from the template files. Removing this as a background image from the CSS only removes the picture and not the element itself, so the top of the post is not flush with the top of the page. How can I go about removing this entirely?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    The following CSS will allow you to hide the image on the post page:

    .entry .featured-image {
      display: none;
    }

    You can add that to the Custom CSS section in the Customizer.

    Also note that, when setting display: none on an element with a background image, browsers are smart enough to know not load the image, so you don’t have to worry about completely removing it from the template.

    Thread Starter mulva

    (@mulva)

    Worked like a charm. Thank you so much for your timely help!

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove featured image from individual posts’ is closed to new replies.