Forminal

Stili avanzati

Pro

Regola dimensioni e spaziatura per la pagina, gli input e il pulsante senza scrivere CSS.

Stili avanzati ti dà il controllo su dimensioni e spaziatura: quanto è largo il modulo, quanto è grande il testo e la dimensione, la forma e la spaziatura degli input e del pulsante. Ogni impostazione è un numero in pixel, quindi non è necessario scrivere alcun CSS.

Esempi

  • Un modulo di iscrizione stretto e centrato sul proprio link.
  • Un pulsante di invio a larghezza intera con testo più grande per i visitatori da dispositivi mobili.

Modifica un'impostazione

  1. Open the form in the builder and select Customize in the top bar.
  2. Scroll to Advanced. It has three groups, Layout, Inputs and Button, followed by Custom CSS.
La sezione Avanzate del pannello Personalizza, con le impostazioni Layout e InputLa sezione Avanzate del pannello Personalizza, con le impostazioni Layout e Input
Layout e Input in Avanzate
  1. Digita un numero in qualsiasi casella o seleziona uno dei pulsanti di larghezza o allineamento. L'area di anteprima si aggiorna mentre digiti. Un numero al di fuori dell'intervallo consentito rende la casella rossa, mostra l'intervallo (ad esempio "da 320 a 1200") e non viene salvato.
Le impostazioni Pulsante con il pulsante a larghezza intera selezionato e un'altezza di 44 px, e un pulsante a larghezza intera sulla telaLe impostazioni Pulsante con il pulsante a larghezza intera selezionato e un'altezza di 44 px, e un pulsante a larghezza intera sulla tela
Un pulsante a larghezza intera

Impostazioni

Layout

  • Page Width: the widest the form gets on its own link, from 320 to 1200 px. The default is 672.
  • Base Font Size: from 12 to 24 px, default 16. Everything scales from it: labels and input text are a bit smaller, captions smaller still, and the form title is one and a half times as big.

Input

  • Width: Full (the default) fills the form, or Fixed sets a width from 120 to 1200 px. Fixed starts at 320.
  • Height: from 24 to 80 px, default 46. It applies to one-line inputs and dropdowns. Paragraph boxes keep their own height.
  • Background, Placeholder, Text and Border: the input colors. Text colors what people type, and starts as the form’s Text color. See the Colors page.
  • Width next to Border: the border thickness, from 0 to 8 px, default 1. Set 0 for no outline.
  • Radius: how round the corners are, from 0 (square) to 40 px, default 10.
  • Margin Bottom: the space between one field and the next, from 0 to 80 px, default 24. Fields that share a row use the same gap between them.
  • Horizontal Padding: the space between the input’s edge and the text inside it, from 0 to 40 px, default 14.

Pulsante

  • Width: Auto (the default) fits the button text, Full fills the form, and Fixed sets a width from 80 to 1200 px, starting at 200.
  • Height: from 24 to 80 px, default 48.
  • Alignment: left (the default), center or right.
  • Font Size: the button text, from 10 to 32 px, default 15.
  • Radius: from 0 to 40 px, default 10.
  • Vertical Margin: extra space above and below the button, from 0 to 80 px, default 0.
  • Horizontal Padding: space on each side of the button text, from 0 to 60 px, default 24.
  • Border and Border Width: a line around the submit button and the Next and Previous buttons, from 0 to 8 px. The width starts at 0, so there’s no border until you set one.

Buono a sapersi

Page Width applies on the form’s own link. In an inline embed or a popup, the form fills the frame on your site, so you control its width there. On a form with several pages, the Previous and Next buttons sit at opposite ends of the row whatever Alignment you pick. On phones, input text never goes below 16 px, so the screen doesn’t zoom in when someone taps a field. If your plan doesn’t include Advanced Styles, you can still try them on the canvas, but the published form and the preview use the default sizes. The input colors and the button’s Border and Border Width aren’t part of that and always apply, even though they sit under the Advanced heading. A theme sets most of these sizes for you, and the same rule applies to them. Default and High Contrast, the two themes without a PRO badge, use the default sizes, so they look the same on every plan. Reset Styles puts every setting back to its default.

Domande frequenti

Quale piano include Stili avanzati?

Stili avanzati fa parte di Pro e Business include tutto ciò che è in Pro. Su Lite puoi provarli sulla tela, ma il modulo pubblicato e l'anteprima utilizzano le dimensioni predefinite. I colori di input e il bordo del pulsante funzionano su ogni piano. Vedi Piani e aggiornamenti.

Perché la larghezza della pagina non modifica il mio modulo incorporato?

La larghezza della pagina si applica solo al link del modulo stesso. In un'incorporazione inline o in un popup, il modulo riempie il riquadro sul tuo sito, quindi imposti la larghezza lì.

Perché il testo di input sui telefoni è più grande di quanto impostato?

Sui telefoni, il testo di input non scende mai sotto i 16 px. Ciò impedisce allo schermo di ingrandirsi quando qualcuno tocca un campo.

Ho bisogno di conoscere il CSS per usare Stili avanzati?

No. Ogni impostazione è un numero in pixel o un pulsante. Per i dettagli che le impostazioni non raggiungono, puoi scrivere CSS personalizzato.

Perché i pulsanti Precedente e Successivo non seguono l'allineamento dei miei pulsanti?

Su un modulo con diverse pagine, Precedente e Successivo si trovano sempre alle estremità opposte della riga, indipendentemente dall'allineamento scelto.

Il tuo primo modulo è gratuito, e così è il centesimo

Nessuna registrazione per iniziare. Hai già un account? Accedi.