Editor custom form - How to change the textarea height using CSS

Editor custom form - How to change the textarea height using CSS

cj1005cj1005 Posts: 142Questions: 45Answers: 1
edited February 2021 in Free community support

Hi,

I'm a complete noob when it comes to CSS, so I'm after a little help, please.
I'm trying to increase the default height of text areas when in my editor form, so I added the following CSS:

.DTE_Field_Type_textarea.DTE_Field_InputControl textarea {
 height: 180px;
}

But no luck, so I tried adding the !important CSS command but that had no effect either.

The code below worked for the container, but I cannot get it to work for the actual text area.

.DTE_Field_Type_textarea {
 height: 180px;
}

Any advice greatly appreciated.
Cheers, Chris

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    This thread should help, it's asking the same thing.

    Cheers,

    Colin

  • cj1005cj1005 Posts: 142Questions: 45Answers: 1

    Thank you Colin...not sure how I did not find that thread :s

This discussion has been closed.