You are viewing limited content. For full access, please sign in.

Question

Question

How do I change the size of a Rich Text object?

asked on June 8, 2020

I've never had an occasion to use a rich text editor on a form until this latest request.  It fits the bill perfectly for what the user needs with the exception of the size.  I need to make it much taller and much wider than how it comes out of the box.  I've tried all of my tricks...that didn't take long.  You would think it would be a simple css entry...but if it is I haven't figured it out yet.  I can't figure out how to change the size.  Any help would be appreciated.  Thanks...

0 0

Answer

SELECTED ANSWER
replied on June 9, 2020

In that case, this CSS widens it to be the full width.

.cf-xlarge.cf-rich-text {
  width: 100%;
}

 

0 0

Replies

replied on June 9, 2020

Hi Jamie,

There are options for width and height in the field properties. Do they not work?

0 0
replied on June 9, 2020

The field height adjustment is friendly but I need larger than XL.  I really need this rich text box to fill the width of the form.  I suppose that means I will need to move the label to above the object, too.

0 0
SELECTED ANSWER
replied on June 9, 2020

In that case, this CSS widens it to be the full width.

.cf-xlarge.cf-rich-text {
  width: 100%;
}

 

0 0
replied on June 9, 2020

Thanks for that Jim.  It ended up being a combination of moving the label to the top AND setting the width to 100%.  

This is the 5% of the form development that I spend 95% of my time on! Argh!

2 0
replied on February 21, 2023

I have a requirement to use a rich text field on a form to allow a user to upload text and an image which would be used to populate a word document, however the size limit of the rich text field is only 1 mb. Is it possible to increase this size limit?

0 0
replied on February 15

Not related but to get you input, On a form we added T's & C's in a Rich Text field. We set the field to a fixed height, and it shows the scroll bars. We set the field as read only, but when we turn that on, the scroll disappears and the field expands to show all of the text, but we really want is the text to be read only but to still appear in the Scroll format. Anyone else run into that or come up with a better way to do this.

You are not allowed to follow up in this post.

Sign in to reply to this post.