# Styling a Text Formula

**URL:** <https://forums.knack.com/t/styling-a-text-formula/11185>\
**Category:** Get Answers\
**Created:** [September 22, 2021, 11:52am UTC](https://forums.knack.com/t/styling-a-text-formula/11185 "2021-09-22T11:52:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [September 22, 2021, 11:52am UTC](https://forums.knack.com/t/styling-a-text-formula/11185/1 "2021-09-22T11:52:08Z")

</div>

Hi guys,

To style a field we use the List Item Properties style.

But is there a way to style diferent parts of a text formula field?

I have this one, and I want to style the collaborator in bold and the date in small font. I also would like to have a wide blank space between the functions.

{Comentario Colaborador Com.Nombre} . {Fecha Com}

---

<div class="post-metadata">

**Author:** ![Arjun](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/arjun/32/4149_2.png) [@Arjun](https://forums.knack.com/u/Arjun)\
**Post date:** [September 28, 2021, 7:32am UTC](https://forums.knack.com/t/styling-a-text-formula/11185/2 "2021-09-28T07:32:24Z")

</div>

Hey Michael. You can achieve this using a few jquery commands in the JS backend. Since you’re using the ‘.’ as a delimiter, you can split the text using that and apply the separate styles and write it back to that particular HTML element.

---

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [September 28, 2021, 8:22am UTC](https://forums.knack.com/t/styling-a-text-formula/11185/3 "2021-09-28T08:22:17Z")

</div>

Hi Arjun!

Thank for the solution to that.

In my actual use-case need it is not worth more JS code. But I note that it is possible and your solution for possible further use-case.

Thank you!
