Option to hide images from posts

Hi Elfsight team,

I’m a happy new user of your LinkedIn Feed widget, and I’m currently embedding it on my website and loving the seamless integration.

However, I’ve run into a small challenge:

When a LinkedIn post includes an image, the widget automatically displays it — which changes the layout, reduces the font size, and affects the visual consistency of the feed. For someone whose website focuses on writing, this visual shift disrupts the reading rhythm.

I’d love to request a feature that allows us to toggle image previews on or off, just like you offer for link previews. Having the option to keep all cards text-based would be a huge improvement for those of us aiming for a more editorial or minimal design aesthetic.

Alternatively, we can keep the pic but without compromising font size for the sake of consistency.

Thank you for considering this!

Warm regards,
Nour Jurdi

2 Likes

Hi there, @user25139 :waving_hand:

You’d like to hide images from the post cards only, but keep them in the popup, right?

I agree that it would be great to have this option right in the settings. We’ll try to think about this opportunity in the future, especially if this idea gets more votes.

As for now, you can hide the images from the post cards using this code in the Custom CSS field on the Appearance tab of your widget’s settings:

.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;
}
2 Likes