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 4457 posts 17970 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

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 30, 2013 @ 09:44
    Tim Geyssens
    0

    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/

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies