How can I change the border-radius and background color of Linkedin reposts?
Greetings and welcome to the Community, @Jennifer_Adler-Potts ![]()
Please let me consult with the devs. I’ll update you once I hear back from the devs ![]()
Hi there, @Jennifer_Adler-Potts ![]()
Thank you for waiting!
This code will do the trick:
.es-carousel-layout-item [class*="CardContainer-sc"]:has(.es-repost-preview-block) {
border-radius: 20px;
background: lightgrey;
}
Please add it to the Custom CSS field on the Style tab of your widget’s settings and let me know if it helped ![]()
that only targets the post outer rather than the repost content which is inside the outer frame?
Ah, I see what you mean!
This code will do the trick if you’d like to change the styling of the internal repost container:
.es-card-repost-preview-block-container {
border-radius: 0px;
background: gray;
}
Please try it out and let me know if you like the result ![]()