Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arnim Anhut 137 posts 148 karma points
    Jul 26, 2013 @ 13:22
    Arnim Anhut
    0

    Change cols of a Textarea?

    Hello,when using Contour with a Textarea it always generates one with cols=20.Where can I define the number of cols?Thanks, Arnim.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 26, 2013 @ 15:37
    Dennis Aaen
    0

    Hi Arnim,

    I have used the contour on a project where I styled the form fields like input fields and the  textarea by using CSS. Don´t know if it´s a good solution to you or if is best practice. But you can do like this in CSS file for the Contour. The default form styling for Contour forms is located here: \umbraco\plugins\umbracoContour\css\defaultform.css

    This is a example

    #contour input.text, #contour textarea
    {
        width: 300px;
        padding: 5px;
    }

    #contour textarea
    {
        height: 250px;
    }

    I hope this could be a solution for you.

    /Dennis

  • Comment author was deleted

    Jul 30, 2013 @ 09:44

    Yup css or you could look into updating the default form views 

    Details can be found here http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/

Please Sign in or register to post replies

Write your reply to:

Draft