Change font color of text item
[change] [class] [color] [color change] [CSS] [font] [font color] [html font color] [item] [style] [text] [urTxtStd] [vb text1 change]
Symptom
You want to change the font color of the text item.
Other terms
text item, change font color, CSS style class, urTxtStd
Reason and Prerequisites
You require at least a BW 7.x web template
Solution
Due to some design restrictions with the standard Unified Rendering style classes it’s no longer possible to change the font color of the text item with the use of a surrounding tag. You have to overwrite the standard text CSS class “urTxtStd” of the specific text item (see attachment “overwrite_css_styles.zip”).
To do this you’ve to add a CSS statement in the
To change the font color of a text item with the ID “TEXT_ITEM_1″ to blue the CSS statement has to look like this:
It’s also possible to use CSS RGB colors (e.g. color:#0000FF). If the font color doesn’t change please check the following:
The item parameter “Display Text Only” must be set to “Off”The item parameter “Color” must be set to “Default”. If not, you’ve to use a different Unified Rendering ClassCheck if the ID of the text item matches