How to hide featured image inside the post, and make the header image bigger

  • Unknown's avatar

    Hi,

    I am currently using the Boardwalk theme and am trying to find answers to two problems I am facing. I would like to hide the featured image in the actual post because I am not given the option to align the image in the way that I want. Is there a CSS code for this?

    If I have a portrait-oriented image, then only part of it gets cropped into the top of the actual post. And this is problematic when the image is of a person, and only their shoulders appear in the post.

    The second thing is that I would like to make the header image much bigger.

    Many thanks!

    The blog I need help with is: (visible only to logged in users)

  • I see you are using Sela theme on https://tanyagabrielian.wordpress.com/, not Boardwalk .

    Do you need help for a different blog?

  • Unknown's avatar

    Here is an example of a post from the Boardwalk demo site:
    https://boardwalkdemo.wordpress.com/2014/12/21/mountain-biking-in-utah/

    You can hide the featured image using the following CSS:

    body.page .entry-thumbnail,
    body.single .entry-thumbnail {
    	display: none;
    }
    
    body.page:not(.title-with-content) .hentry.has-post-thumbnail .entry-header,
    body.single:not(.title-with-content) .hentry.has-post-thumbnail:not(.format-video) .entry-header {
    	position: relative;
    }

    The 2nd part of the example works to make the post meta and title not overlap with other content.

    The second thing is that I would like to make the header image much bigger.

    The Boardwalk theme does not offer an option to add a header image for the site overall. You might be talking about featured images, but you also asked how to hide those so I am not sure. It does also look like you’ve switched themes, which is probably a good idea if you didn’t like a lot of the fundamental design elements that Boardwalk uses (which it sounded like might be the case).

  • The topic ‘How to hide featured image inside the post, and make the header image bigger’ is closed to new replies.