Field description text width
- Adam Reyes
- Posts: 35
- Joined: Tue Mar 04, 2014
Is there a way to decrease or control the width of the description text under the form fields? I can't seem to find a way to do it in forms designer and any CSS I use doesn't seem to work.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Please, insert the following code into CSS-editor:
Code: Select all
.fd_field .ms-metadata {
color: red;
}
- Adam Reyes
- Posts: 35
- Joined: Tue Mar 04, 2014
That just changes the color but it will not decrease the width of the text field description. It also seems to affect all the description fields and I just need it to affect just one field. I'm trying to decrease the description text down to a width of 100px
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi Adam,
Please, try this:
Replace 'FieldName' with the internal name of the field which description you want to adjust.
Please, try this:
Code: Select all
.fd_field[fd_name='FieldName'] .ms-metadata {
width: 100px;
display: block;
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests