# CSS classes to Kirbytext

**URL:** <https://forum.getkirby.com/t/css-classes-to-kirbytext/6526>\
**Category:** Questions\
**Tags:** v2\
**Created:** [February 3, 2017, 3:22pm UTC](https://forum.getkirby.com/t/css-classes-to-kirbytext/6526 "2017-02-03T15:22:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sieva](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@sieva](https://forum.getkirby.com/u/sieva)\
**Post date:** [February 3, 2017, 3:22pm UTC](https://forum.getkirby.com/t/css-classes-to-kirbytext/6526/1 "2017-02-03T15:22:13Z")

</div>

Hello,

is it possible to add a class to a part of a text in the panel? Maybe i wanna center some parts of the text. How is the best way?

---

<div class="post-metadata">

**Author:** ![thguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thguenther/32/16708_2.png) [@thguenther](https://forum.getkirby.com/u/thguenther)\
**Post date:** [February 3, 2017, 3:29pm UTC](https://forum.getkirby.com/t/css-classes-to-kirbytext/6526/2 "2017-02-03T15:29:16Z")

</div>

You can write inline HTML in a textarea, but a cleaner method would be a custom kirbytag like this one: [Paragraph alignement](https://forum.getkirby.com/t/paragraph-alignement/5481/5)

---

<div class="post-metadata">

**Author:** ![bnomei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bnomei/32/775_2.png) [@bnomei](https://forum.getkirby.com/u/bnomei)\
**Post date:** [February 3, 2017, 3:54pm UTC](https://forum.getkirby.com/t/css-classes-to-kirbytext/6526/3 "2017-02-03T15:54:34Z")

</div>

[https://getkirby.com/docs/developer-guide/kirbytext/tags](https://getkirby.com/docs/developer-guide/kirbytext/tags)

or maybe simpler

[https://getkirby.com/docs/developer-guide/kirbytext/filters](https://getkirby.com/docs/developer-guide/kirbytext/filters)

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:52pm UTC](https://forum.getkirby.com/t/css-classes-to-kirbytext/6526/4 "2025-02-06T16:52:51Z")

</div>


