Hi Antti

Thanks for your help. Your suggestion sounds good and I'll try that. Even if I 
don't see all the your mentioned resources…

Bye

Silvan

-

On 25.02.2013, at 10:26, Antti Hietala (via Magnolia Forums) 
<[email protected]> wrote:

> Hi Silvan,
> 
> [quote]I want to style the given form with my own css file.[/quote]
> 
> The pop theme provides styles for form elements. Look in Templating Kit > 
> Resources > /templating-kit/themes/pop/css/styles.css. Form specific styles 
> start on row 2926. I don't think the Form module provides its own stylesheet 
> (but I could be wrong).
> 
> {code}
> /* FORMS
> -------------------- */
> input[type="search"] {
>    -webkit-appearance: textfield;
>    -moz-box-sizing: content-box;
>    -webkit-box-sizing: content-box;
>    box-sizing: content-box;
> }
> etc.
> {code}
> 
> [quote]I only see the path /form/components/form.ftl, but can't locate the 
> file to edit it.[/quote]
> 
> The template file is inside the Form module .jar file. You cannot edit it in 
> AdminCentral. However, you can create an inline template script in Templating 
> Kit > Templates > /form/components/form.ftl that overrides the one in the JAR.
> 
> Inline templates are fine for developing and prototyping but they are not 
> maintainable in the long run. It is not a best practice for production use. 
> We recommend that you store your scripts in a version control system and 
> package them into your own project module.
> 
> http://documentation.magnolia-cms.com/templates/stk/template-scripts.html#Editingscripts
> 
> http://documentation.magnolia-cms.com/templates/stk/best-practices.html
> 
> --Antti
> 
> 
> --Antti
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=9308af4a-9588-494e-b929-a6626ee71731
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to