# Hide images from post cards

**URL:** <https://community.elfsight.com/t/hide-images-from-post-cards/122829>\
**Category:** LinkedIn Feed\
**Created:** [May 26, 2025, 12:26pm UTC](https://community.elfsight.com/t/hide-images-from-post-cards/122829 "2025-05-26T12:26:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 26, 2025, 12:26pm UTC](https://community.elfsight.com/t/hide-images-from-post-cards/122829/1 "2025-05-26T12:26:53Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your [LinkedIn Feed](https://elfsight.com/linkedin-feed-widget/) widget’s settings:

```auto
.es-carousel-layout-item
[class*="CardMediaBlock__MediaBlock-sc"] {
  display: none;
}

.es-carousel-layout-item
[class*="Block__RegularBlock-sc"]:not([class*="CardUserBlock__UserBlock-sc"]) {
  padding-bottom: 16px;
}

.es-carousel-layout-item
[class*="Block__RegularBlock-sc"]:not([class*="CardUserBlock__UserBlock-sc"]) 
.es-text-shortener {
  line-height: 20px;
  font-size: 14px;
}

```
