icon Form Builder
Created by Orckestra

Form Builder Developer Guide

Working with styling

The Form Builder is Bootstrap 3 ready out-of-the-box and requires LESS to work properly.

The forms created with the Form Builder use styles of the Bootstrap 3 based starter sites such as “Open Cph” or “Tiny Cph”.

These styles are defined in ~/Frontend/Styles/style.less and other LESS files, which come with the starter site, and applied across the website on all pages with, and without forms.

Please note that if you are using the Form Builder on a website other than a C1 CMS starter site, you may need to edit:

  • ~/Frontend/Composite/Forms/FormBuilder/FormBuilderPreview.less

Here, you should set a correct @import directive because the default reference to "../../../styles/style.less" may not reflect your situation.

The styles specific to the Form Builder are defined in:

  • ~/Frontend/Composite/Forms/FormBuilder/Composite.Forms.FormBuilder.less

This style sheet also includes the minimum set of styles for the Form Builder to work on sites not based on the C1 CMS Starter sites.

Back to top
Version 1.3.4
Tags Form

Have a question?

Phone: +45 39 15 76 00
Email: Write us
12:21 AM
(Local time at HQ)