WordPress.org

Support

Support » Themes and Templates » Untitled » [Resolved] How to hide big feature image in single post?

[Resolved] How to hide big feature image in single post?

  • I like the appearance of the theme, but I don’t need this section with big 1440px-width image and slider to another posts on the top of single post.

    I am not good in CSS, so please help me. What should I edit to make single posts show as if there wasn’t featured image?

    P.S. Maybe it looks silly that I want to delete one of the main feature of the whole theme, but I just don’t need it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    Hi there, have you tried just not uploading a featured image for those posts where you don’t want one displayed? That should do the trick.

    If you need further assistance, please provide a link to your site so we can have a look. Thanks.

    Yeah, posts without a featured image look as I need, but only on a single post page. But I still need featured images on the main page of blog, because they make design to look cool.

    I can’t post a link to my site as it is offline. I’m just preparing and testing.

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    You could try targetting the featured image in single-post view with some CSS to hide it. For example:

    .single-post .singleimg {
      display: none;
    }

    Let me know how it goes.

    Moderator Kathryn

    @zoonini

    Automattic Happiness Engineer

    p.s. An easy way to add custom CSS like this is to install the Jetpack plugin and activate the Custom CSS module. This way, your CSS won’t be overwritten when you update the theme.

    You could also make a child theme instead. Avoid editing the stylesheet directly as your changes will be overwritten the next time you update the theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How to hide big feature image in single post?’ is closed to new replies.
Skip to toolbar