Changing Widths of a Form

I need to change the width of this column/field...........does anyone know how I can do it?  I am running SP2013

Thanks,

Eddie

September 1st, 2015 7:46pm

Width of column/filed in display forms ? or when you are displaying in an page?

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 9:43pm

This is a form that I am trying to change the width on.  I can't add a photo since I am not verified yet.
September 2nd, 2015 4:22pm

Hi Eddie- you can accomplish that in a couple ways: modify the site code or change the width of a single form by editing the form web part. See the following link for details on both methods:

http://sharepoint.stackexchange.com/questions/40580/how-to-modify-width-of-standard-dialog-form-sharepoint-2010

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 8:45pm

Hi Eddie,

From your description, do you want to change the width of the form, or the width of the fields? And which form do you want to change?

As croute1 suggested, we can change the width of the form by editing the form web part or modify the site code.

If you want to change the width of the fields, we could add some css code in Script Editor to achieve it.

1. In the ribbon, click the list tab, and then click Form Web Parts and select the form which you want to edit.

2. Press F12 and click the icon to check the class name or  the id of the field.

3. Click Add a Web part on the page and add a Script Editor Web Part.

4. Click Edit Snippet on this web part and enter the code like:

<style>

.class{

// or we can use #id to specify the field

width: 500px;

}

</style>


Best regards,

Linda Zhang

September 7th, 2015 3:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics