- pnwcAsked on January 04, 2016 at 01:52 PM
I want part of my heading to be in a different font color. How can I do this?
- BenAnswered on January 04, 2016 at 04:37 PM
If I understood you correctly, you would like to have not the heading font in different color, but instead, you are looking to color the part of the heading text.
To do that you can simply add the HTML code with the color, class or ID.
For example, if the text is:
"This text is same as other, while this one is colored"
where we want "this one" to be of red color, we could do it by adding the following to the header
This text is same as other, while <span style="color:red;">this one</span> is colored
This text is same as other, while <span class="someClass">this one</span> is colored
This text is same as other, while <span id="someID">this one</span> is colored
The benefits of class and ID is that you can style the elements through Form Designer as well, while the first option requires that you are familiar with the HTML, however inline style would offer a faster way to do it.
One note should be given. If you ever click on the label of that element to change it, the HTML will get removed from the same, so you would need to add the same back.
Do let us know how it goes :)