# Text colour changes when made bold

**URL:** <https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165>\
**Category:** Elements\
**Created:** [November 6, 2024, 10:32pm UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165 "2024-11-06T22:32:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dean](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dean](https://forums.realmacsoftware.com/u/Dean)\
**Post date:** [November 6, 2024, 10:32pm UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/1 "2024-11-06T22:32:00Z")

</div>

In the new typography component when you change the colour of some text it works, but if you then make the text bold the coloured text changes to black.

 ![Screenshot 2024-11-06 at 22.23.16](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/d/3/d3b84a746d09d698d9caed3182c816e63637f22d.jpeg)

 ![Screenshot 2024-11-06 at 22.22.12](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/6/5/652d20fbd320ecf4a2023b494f6bb26e8961ab47.jpeg)

Am I missing something?

---

<div class="post-metadata">

**Author:** ![jscotta](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jscotta/32/26082_2.png) [@jscotta](https://forums.realmacsoftware.com/u/jscotta)\
**Post date:** [November 6, 2024, 10:51pm UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/2 "2024-11-06T22:51:12Z")

</div>

My quick test showed that for the color to remain, you have to apply the Bold first, then the color change. Then it will stick.

---

<div class="post-metadata">

**Author:** ![Dean](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dean](https://forums.realmacsoftware.com/u/Dean)\
**Post date:** [November 6, 2024, 11:03pm UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/3 "2024-11-06T23:03:21Z")

</div>

it doesn’t matter which way around I do it, bold first or colour first.  
I get the same result, bold text turns black.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [November 7, 2024, 8:13am UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/4 "2024-11-07T08:13:43Z")

</div>

Hmm, I can’t seem to replicate the bug here, can you share a sample document that has the issue?

---

<div class="post-metadata">

**Author:** ![Dean](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dean](https://forums.realmacsoftware.com/u/Dean)\
**Post date:** [November 7, 2024, 9:25am UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/5 "2024-11-07T09:25:22Z")

</div>

Hi Dan,

A test project file is here: [elementsapp://downloadDocument/ycTwjlOb4u3u](elementsapp://downloadDocument/ycTwjlOb4u3u)

I hope this helps.  
It also will not work in my main project file either.  
I have also tried it on 2 different machines, an older iMac and a new MacBook Pro. Both have the same issue.

---

<div class="post-metadata">

**Author:** ![annebourdon](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/annebourdon/32/2391_2.png) [@annebourdon](https://forums.realmacsoftware.com/u/annebourdon)\
**Post date:** [November 7, 2024, 9:30am UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/6 "2024-11-07T09:30:49Z")

</div>

Hi Dan,

when I use a typography element, it creates a “section” with a class of “prose”.  
Then, when I select a word in the paragraph and apply a color, a “span” is added, surrounding the word I selected. This span contains the correct classes (for example : text-brand-400) and the color is correctly applied.  
But, if I choose to make this colored word bold, inside the span tag, it is now surrounded by a strong tag and the color turns back to black.  
I suppose that it is due to the “prose” css.  
This problem does not occur in a text element.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [November 7, 2024, 12:00pm UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/7 "2024-11-07T12:00:25Z")

</div>

@annebourdon, @Dean, @jscotta — Thanks for the feedback, we’ve reproduced the issue and this will be fixed in the next beta 🎉

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [November 7, 2024, 4:45pm UTC](https://forums.realmacsoftware.com/t/text-colour-changes-when-made-bold/45165/8 "2024-11-07T16:45:13Z")

</div>

New build is up that should fix this (and more) 🫡

> [@Elements Beta 18 (build 23018)](https://forums.realmacsoftware.com/t/elements-beta-18-build-23018/45181):
>
> Hello again, Hot on the heels of yesterday’s [HUGE Beta 17 release](https://forums.realmacsoftware.com/t/elements-beta-17-build-23008/45159), we have B18 — Lots of great little fixes in this one, and plenty more to come next week! What’s New in Elements Beta 18? Fixed a crash that occurs while filtering any of the outline views in the the sidebar! Typography Classes can now be duplicated via the right-click menu. Typography Classes editor now remembers the last selection (instead of always revering to H1). Menu: Added custom dropzone for hamburger Menu: Added option…
