# Align text elements to center

**URL:** <https://community.elfsight.com/t/align-text-elements-to-center/76026>\
**Category:** LinkedIn Feed\
**Created:** [October 16, 2024, 6:23pm UTC](https://community.elfsight.com/t/align-text-elements-to-center/76026 "2024-10-16T18:23:40Z")\
**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:** [October 16, 2024, 6:23pm UTC](https://community.elfsight.com/t/align-text-elements-to-center/76026/1 "2024-10-16T18:23:40Z")

</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
[class*="Shortener__Inner-sc"] {
text-align: center !important;
}

[class*="Text__Control-sc"] {
display: flex !important;
justify-content: center !important;
}

```

  

Guys, if this code was helpful to you, please drop a line in the comments. Your feedback helps us improve our services and provide better solutions 🙂
