Skip to main content
Nintex Community Menu Bar

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

  • Aug 27, 2018 2:58 PM UTC
  • 11 replies
  • 53 views
  • Translate All

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
  • Aug 27, 2018 7:22 PM UTC

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,

Translate

Forum|alt.badge.img+7
  • Author
  • Aug 27, 2018 8:20 PM UTC

Unfortunately, that did not work...

Translate

Forum|alt.badge.img+14
  • Scholar
  • Aug 27, 2018 11:28 PM UTC

try following

- add 'CSS class' Comments to the control

- add following styling into 'Custom CSS'

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

Forum|alt.badge.img+7
  • Nintex Partner
  • Aug 28, 2018 12:16 PM UTC

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

Translate

Forum|alt.badge.img+7
  • Author
  • Aug 28, 2018 12:43 PM UTC

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

Translate

Forum|alt.badge.img+7
  • Nintex Partner
  • Aug 29, 2018 9:42 PM UTC

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

Translate

Forum|alt.badge.img+7
  • Author
  • Sep 4, 2018 2:05 PM UTC

Thank you!  Thank worked perfectly! :-)

Translate

EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • Oct 29, 2018 5:12 AM UTC

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

Translate

Forum|alt.badge.img+7
  • Author
  • Oct 29, 2018 1:29 PM UTC

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

Translate

EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • Oct 29, 2018 9:45 PM UTC

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

Translate

Forum|alt.badge.img+7
  • Nintex Partner
  • Oct 31, 2018 9:04 PM UTC

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

Translate