Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Remove featured image from home page

Home Forums Support Remove featured image from home page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #159247
    KJames

    Hi! I recently switched to this theme for a comic site I’m making. The site uses a plug in called Comic Easel to handle all of the comic stuff, but it’s causing a problem with featured images. Comic Easel uses the featured image of each post as the comic page, but the theme was putting a second instance of the comic image in the blog post below on each page.

    I saw this code recommend several times for people wanting to hide featured images:

    .page-header-image-single {
    display: none;
    }

    And that fixed the issue perfectly for my single pages, but my main page is still displaying two images. I’m a complete WordPress beginner, so I’m not really sure what to change to make it work for the main page too?

    #159248
    KJames

    Oh, and the website is here sorry. I thought it would include it since it was in the required info box to post.

    #159261
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This will hide it on all pages:

    .page .page-header-image {
        display: none;
    }

    Let me know if that works for you or not 🙂

    #159262
    KJames

    Never mind, I found this and it worked:

    .home .wp-post-image {
    display: none;
    }

    #159263
    Tom
    Lead Developer
    Lead Developer

    That would remove all content images on the home page – but it won’t remove the featured image.

    #159266
    KJames

    Oh, haha looks like you were already replying when I fixed it. Whoops.

    Out of curiosity I tried the one you posted instead and it didn’t work. I’m not sure why.

    #159281
    Tom
    Lead Developer
    Lead Developer

    In that case the problem may be the images inside the content which you want to remove, so that block of code you posted will work great for that 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.