Home>Support>Hide featured image in category archives

Hide featured image in category archives

Hello,

I have 2 issues:

1. How can I completely hide the featured images that are showing at the category archives?
The image disappears, but there are still some kind of boxes visible.

I tried some CSS code which I found online:


.category-nieuws .wp-post-image { 
display: none!important; 
}


}

In Vantage theme settings I’ve set:
-Blog archive layout: Grid
-post content: Post excerpt
-Featured image type: small icon (which shows the same image size as ‘Large’)

2. A second question:
How can I set all of my featured images to have the same size in category archives.
http://www.fontein-kampen.nl/subdomein/category/fotoalbums/

URL: http://www.fontein-kampen.nl/subdomein/category/nieuws/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 10 months ago gerkof

    I found a solution for both issues myself. My ask for help was too soon..

    For the first problem, completely hide the featured images including the boxes they are in, I added this code:

     .category-nieuws .grid-thumbnail { 
    display: none!important; 
    }

    For the second problem: making the featured images the same size, I put in this code:

     .wp-post-image {
      max-height: 150px;!important; 
    }
  2. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi gerkof

    Nicely done. Thanks for sharing your solution with everyone.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More