• Resolved supernova42

    (@supernova42)


    I’m using Text Area for one of my field definitions. When I display the list of my records using the template [pdb_list_responsive], the output of the Text Area is constrained to a fairly small scrollable box. How can I increase the width of this box. I have looked at the code for the template, but I can’t see anything that controls the width.

    Many Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xnau webdesign

    (@xnau)

    The width will be controlled by CSS. If you inspect the element, you’ll see the size is controlled by this rule:

    .pdb-list span.textarea {
        display: block;
        max-height: 5em;
        max-width: 150px;
        overflow: auto;
    }

    you can make your own rule to override that and change the size.

    Thread Starter supernova42

    (@supernova42)

    Hi
    I inserted the css code and changed the max-width to 1000px but it had no effect.

    I tried the css code in the theme and then tried it in pdb Settings/Custom CSS but neither of them worked.

    What am I doing wrong

    Thanks

    Thread Starter supernova42

    (@supernova42)

    Sorry my mistake, it is working. I was looking in the wrong place.

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Text Area for field layout’ is closed to new replies.