• I noticed from another post on the forum that to hide the featured image on a single page you can insert the following css

    .single-post .featured-media { display: none; }

    but the featured image still appears for each post on the blog page (where an excerpt of each post is displayed). How can I hide the images on this page too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The featured image gets displayed on all pages. Single page, home(blog) page, author archive page, tag archive page, category archive page, search result page.

    To hide featured image in all pages, just use this code

    
    .featured-media { display: none; }
    
    

    If you only want to hide it in single page and blog home page (and keep it for other pages), use this code

    
    .home.blog .featured-media, .single-post .featured-media { display: none; } 
    
    
    Thread Starter sailpilot

    (@sailpilot)

    Thanks for the quick response

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘featured image’ is closed to new replies.