I've not used Contour for a while but I know you can disable the default stylesheet and then roll your own, can you see this option to disable the default stylesheet?
Thank you for these replies. I'll start testing right away (even though I am not totally sure where to start/adjust)
By the way - is it possible to setup separate stylesheets for the Contour forms without doing to much special coding (that might break on an Contour update)?
If am right, i truely think that this can be done if you create different stylesheet but the the ids and classes would still be the same inside your css.
You could then call the stylesheet depending on what page you want to make use of Contour.
I havent try it to be honest but i think it should work.
I works very well with using separate css for the forms. I have three forms, each using a unique css. The trick is to "disable default stylesheet" and then specify the css in the document template.
Customizing the form with CSS
Hi
I would like to tailor the layout of the rendered form but I do not now the way to do this.
Mainly I want to make the form "tighter" with less space between the fields.
Is it possible to specify a unique CSS template ?
Maybe there are examples available that shows how to do this ?
Thanks!
/Gudmund
Hi Gudmund,
I've not used Contour for a while but I know you can disable the default stylesheet and then roll your own, can you see this option to disable the default stylesheet?
Rich
Yes you can change the layout of your form and removed all spaces when using Contour Forms.
For this you just need to check "Disable default stylesheet" under the settings tab after creating a form.
Usually Contour will create a stylesheet like this
with the following url
umbraco/plugins/umbracoContour/css/defaultform.css
What you can do is overwrite it and changed the css as you would want to.
Hi Rich and Fuji
Thank you for these replies. I'll start testing right away (even though I am not totally sure where to start/adjust)
By the way - is it possible to setup separate stylesheets for the Contour forms without doing to much special coding (that might break on an Contour update)?
Cheers
Gudmund
If am right, i truely think that this can be done if you create different stylesheet but the the ids and classes would still be the same inside your css.
You could then call the stylesheet depending on what page you want to make use of Contour.
I havent try it to be honest but i think it should work.
//fuji
I works very well with using separate css for the forms. I have three forms, each using a unique css. The trick is to "disable default stylesheet" and then specify the css in the document template.
Thanks again for the tip!
///Gudmund
is working on a reply...