Streaming live at 10am (PST)

Set font size/color on dynamic data Rich Text Field


#1

Hi. How do we set p or span font size/color on a Rich Text Field that is pulling from CMS?
Thanks.


Add styles to Rich Text Editor content in the CMS
#2

You can't dynamically customize font colors in rich-text editors at the moment. You will have to create a separate text block for that.


#3

Hi @samliew,

Is this also true of text size?

I am not able to adjust the text size of content that is being pulled from cms.

Thanks


#4

Hi @uberwilso,

Yes, unless you are using a rich-text component, then you have h1-h6, bold, italics, which you can style.


#5

@samliew the settings say rich text, links to images below:

https://drive.google.com/open?id=0B-7KK60Tb7nlSjc2NVBLaHp1Xzg
https://drive.google.com/open?id=0B-7KK60Tb7nlTE1WNjVTemRlQlU


#6

You can set a font size for the rich text editor, but if the paragraphs have a fixed font size like 12px, it will stay the same. Try setting "ALL paragraphs" to a relative size like "1em".


#7

that worked, thank you.


#8

What is the best way to select "All Paragraphs" or any of the pink global styles if they are only being used by dynamic content? e.g. there is nothing to click on anywhere else on my site that has those tags


#9

Put one on the page, style it, then delete it after.


#10

You sir are very helpful!


#11

#12