Grid image and post image

Home Forums Automattic Forefront Grid image and post image

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #107953 Resolve


    I’d really like to have separate images for the grid view and the post itself but doesn’t seem possible. If it isn’t, is there some way I can just not display the featured image on the post?

    The blog I need help with is


    Hi there,

    You’re correct, it’s not possible to have separate images for the grid and post views. You can hide featured images on the single page itself using CSS. Here’s the process you’d follow.

    In your browser, go to the page where you want to hide the CSS. Right click on the page. In the menu that pops up, select “View Page Source”. Look for the “body” tag (it’ll look like this):

    <body class="page page-id-30 page-child parent-pageid-3 page-template-default logged-in admin-bar no-customize-support custom-background mp6 debug-bar-maximized theme-menu-maximized highlander-enabled highlander-light">

    The above is the “body” tag from the source of this page:

    Next, notice the “page-id-30” in the tag. That is the unique ID of this page, and it’s what we’ll use in our CSS to tell the browser we want to hide featured images on this page.

    Once you have the page ID, go to your CSS Editor and paste the following code:

    .page-id-30 .hero {
    display: none;

    That will hide the featured image at the top of only this page. After hiding the featured image, you might notice a lot of extra space between the site header and content area. You can reduce this space (if you want) with the following:

    .page-id-30 .content-area,
    .page-id-30 .sidebar-widget-area {
    margin-top: 30px;

    You would need to repeat this process for every page that you want to hide the featured image. Let me know if you have any questions or run into any issues!



    Thanks for the detailed reply. I’ve got too many sub-pages so I’ll use a different theme.

    Please consider allowing different images in a future version. It would be a useful enhancement.


    Caroline Moore

    Howdy! Thank you for the feedback, we will keep this in mind. Do you need additional assistance, or are you all set?


    Kathryn P.
    Happiness Engineer

    I’m going to close this thread now but feel free to start a new one if you need anything else.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Grid image and post image’ is closed to new replies.