# Add widget title

**URL:** <https://community.elfsight.com/t/add-widget-title/175423>\
**Category:** Comments\
**Created:** [September 29, 2026, 11:42am UTC](https://community.elfsight.com/t/add-widget-title/175423 "2026-09-29T11:42:33Z")\
**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:** [September 29, 2026, 11:42am UTC](https://community.elfsight.com/t/add-widget-title/175423/1 "2026-09-29T11:42:33Z")

</div>

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

```auto
.es-widget-container::before {
  content: "Your title";
  display: block;
  width: 100%;
  margin: 0 12px 16px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

```

Do not forget to replace `Your title` in the 2nd line of the code with your own title 🙂
