# Change font styling

**URL:** <https://forums.ankiweb.net/t/change-font-styling/36057>\
**Category:** Card Design\
**Created:** [October 22, 2023, 1:11pm UTC](https://forums.ankiweb.net/t/change-font-styling/36057 "2023-10-22T13:11:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![7xN](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/7xn/32/12896_2.png) [@7xN](https://forums.ankiweb.net/u/7xN)\
**Post date:** [October 22, 2023, 1:11pm UTC](https://forums.ankiweb.net/t/change-font-styling/36057/1 "2023-10-22T13:11:14Z")

</div>

If anyone is willing to help. I want to change the font styling depending on the field in put. So if een X is in the field the the field is red if an = is in side the field the field is blue etc. I know this is possible using JavaScript but I could not get it to work.

---

<div class="post-metadata">

**Author:** ![hnvy](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@hnvy](https://forums.ankiweb.net/u/hnvy)\
**Post date:** [October 24, 2023, 6:30pm UTC](https://forums.ankiweb.net/t/change-font-styling/36057/2 "2023-10-24T18:30:37Z")

</div>

> [@7xN](#):
>
> but I could not get it to work

You can post what you have tried already so that others can give you specific hints and advice!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [November 23, 2023, 6:30pm UTC](https://forums.ankiweb.net/t/change-font-styling/36057/3 "2023-11-23T18:30:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
