# Powerful Rich Text Styling

**URL:** <https://forum.finsweet.com/t/powerful-rich-text-styling/3305>\
**Category:** Attributes\
**Tags:** powerful-rich-text\
**Created:** [August 19, 2024, 6:26pm UTC](https://forum.finsweet.com/t/powerful-rich-text-styling/3305 "2024-08-19T18:26:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/marc/32/1583_2.png) [@Marc](https://forum.finsweet.com/u/Marc)\
**Post date:** [August 19, 2024, 6:26pm UTC](https://forum.finsweet.com/t/powerful-rich-text-styling/3305/1 "2024-08-19T18:26:14Z")

</div>

Hi,

I created some components on a separate (static) page, e.g. CTAs.

Those components can hold paragraphs and are styled individually (font-size: 2rem, in this case). Now, when I pull those into the target rich-text-field, the style settings for the paragraph of that CTA are being applied, which is logical, but not what I want (in this case).

I wonder how to best address this. Should I just create additional override CSS rules?

Currently, I am thinking about something like this:

```auto
div[itemtype="fs-richtext-component-cta"] p {
    font-size: 2rem;
}

```

This works, but before going down this path and applying the custom attributes to numerous elements, I thought I’d ask here if there is a smarter way to do it.

Thanks

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [August 20, 2024, 3:13pm UTC](https://forum.finsweet.com/t/powerful-rich-text-styling/3305/2 "2024-08-20T15:13:43Z")

</div>

hey @Marc! I believe this is the best approach at the moment!

However, we might be able to suggest a solution in the future to maintain the source styling… thanks for pointing this out! 💪

---

<div class="post-metadata">

**Author:** ![Marc](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/marc/32/1583_2.png) [@Marc](https://forum.finsweet.com/u/Marc)\
**Post date:** [August 20, 2024, 9:12pm UTC](https://forum.finsweet.com/t/powerful-rich-text-styling/3305/3 "2024-08-20T21:12:23Z")

</div>

Hey @Support-Luis, okay thank you.

Glad to give more input, feedback, ideas or test if this feature is being worked on. Would make styling of dedicated elements waaaaay easier and straight-forward if we could avoid this class sandwich 🥪
