Aller directement à la fin des métadonnées
Aller au début des métadonnées

Vous regardez une version antérieure (v. /wiki/spaces/SUP/pages/10158804/How+do+I+customize+hosted+form+styling) de cette page.

afficher les différences afficher l'historique de la page

« Afficher la version précédente Vous regardez la version actuelle de cette page. (v. 4) Actuel »

If you wish to modify the style of your form, it is essential to know how to work with CSS.

 

1. Basic form styling may be applied via the Configurations section of the Hosted Form Designer. 

It is also possible to apply custom form styling through CSS. 

 

Customize Hosted Form Styling

1. From the top menu bar, click on Content.

2. Select the submenu Templates.

3. Click on Get Default Form CSS. This will launch a download of the complete CSS (Cascading Style Sheets) used to style PUBLITRAC forms. 

Cascading Style Sheets is a style sheet language used for describing the look and formatting of a document written in a markup language-in this case, HTML1.

4. It is possible to use the below code snippets in order to further customize your forms.


Formatting input list field

form.nlForm select { 

            margin: .2em 0; 

        background: none !important;

}

1Definition for Cascading Style sheets provided by Wikipedia.

 

5. In the screen modification of your landing page, insert the new styles between the tags <head> and </head>.  If you are having difficulty with the styles, you can add "!important" at the end of the style line in order to add importance to it.

 

Example:

 


 

  • Aucune étiquette