I’m currently working a project that has a large recipe database, the client wants the recipe title that’s populated from the CMS Item styled with two fonts. Has anyone figured out a way to do this or use a span with dynamic content so that the first two words in this case could be styled differently?
So UPDATE I just had to create a Span around text in a CMS for various fields and the client needed to be able to manage the spans, anyhow, did that with some custom code and a marker the client can use in the CMS (just%%) to indicate where the Span should wrap text. Did a little post on it here in case someone needs to replicate it. Creating Text Spans in Dynamic CMS Text Elements in Webflow
@webdev solution here works great in situations like this.
One another solution which I guess you’ve already considered is to create two separate fields for them? And then you can easily place and style them separately.
As you mentioned you have a large database, so ya updating all those data would be a time consuming work. So ya simple work is not always better.
But I just wanted to mention about this, because in some situations this can be useful.