3

Good Morning Again;

I have built a custom form using SPD 2013 OP with SPD2013.

When you enter a description in the custom list settings, the description displays under the input box on the custom form.

What is the attriube / element to modify the font / style of this text?

Thanks

2
  • you can use the f12 button and use DEV tools to find that.
    – lazoDev
    Commented Jan 9, 2019 at 18:25
  • Try to inspect the field description by right clicking on element and choosing option (inspect element). You can get the class or ID of the description element. Commented Jan 9, 2019 at 18:26

1 Answer 1

3

You should be able to change the font of the field's description on the new or edit form with this css (this just changes the font color to red, so tweak it according to your needs):

<style>
.ms-formbody > .ms-metadata
{
 color: red;
}
</style>

If you want to apply the changes only on some fields' description, you can do that with javascript.

1
  • Hi Damjan, Can you add hyperlink in description?
    – Harris
    Commented Mar 15, 2021 at 1:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.