Change font color of text item

[] [] [] [] [] [] [] [] [] [] [] [] []

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

area of the web template:

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

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment