Skip to main content
Nintex Community Menu Bar

Add margin/padding within/inside a \rich text\" field/column"

  • August 27, 2018
  • 11 replies
  • 41 views

Forum|alt.badge.img+7

I have a rich text field on my form called "comments."  I don't seem to be able to add a margin or padding, within the field, so that the text doesn't butt up against the right margin:

RichTextField

I would like it to look like this:

RichTextField2

I have added padding in the control, but I think that only adds padding to the outside of the field, not within.

RichTextField3

Any thoughts on how to add a margin within the field itself?

11 replies

Forum|alt.badge.img+7
  • Nintex Partner
  • August 27, 2018

Hi, 

To the multi lines control, add a class in "Control CSS class" setting called "CommentsPadding".

In the form settings, Custom CSS, add the below:

.CommentsPadding

{

padding: 20px;

}

BR,


Forum|alt.badge.img+7
  • Author
  • August 27, 2018

Unfortunately, that did not work...


Forum|alt.badge.img+14
  • Scholar
  • August 27, 2018

try following

- add 'CSS class' Comments to the control

- add following styling into 'Custom CSS'

.Comments .ms-inputBox{
  padding: 20px !important;
}

Forum|alt.badge.img+7
  • Nintex Partner
  • August 28, 2018

Sorry I didn't pay attention...I did it on plain text not rich one...Will reply in few...


Forum|alt.badge.img+7
  • Author
  • August 28, 2018

thanks, I couldn't understand why it wasn't working...I await your reply.


Forum|alt.badge.img+7
  • Nintex Partner
  • August 29, 2018

Hi, 

1-Add ClassName to "CSS Class" setting of the control.

2-In the "Custom CSS" setting of the form, add the below code (As example):

.CSS p

{padding-left:30px;}

Result

Control Settings

Form Settings


Forum|alt.badge.img+7
  • Author
  • September 4, 2018

Thank you!  Thank worked perfectly! :-)


EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • October 29, 2018

Hi all,

Our UX team are doing some research into our style builder for Universal Forms. We would appreciate your feedback on your current experience in styling your forms in any platform.

If you would like to provide feedback, please fill out the survey at Applying styles in Nintex Forms 

Thanks,

Euan


Forum|alt.badge.img+7
  • Author
  • October 29, 2018

I have responded to your survey.  If you decide to assemble a team for UAT, I would be interested.


EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • October 29, 2018

That would be great to have your input Dina Fischer. I will forward your details on to our UX team for follow up. We will be creating some high-fidelity mockups and concepts together so it will be good to get your feedback.

Regards,

Euan


Forum|alt.badge.img+7
  • Nintex Partner
  • October 31, 2018

Hi, I have responded to the survey. Running on Nintex Adrenaline!!!