Want to change how your form looks — colours, fonts, buttons, spacing? This guide gives you ready-made code snippets you can copy, paste, and tweak. Each one comes with a short note on what it does and a table of options so you can match it to your design.
Cover photo
Adding a cover photo to your forms can help convey a stronger brand image and create a more impactful impression on your audience.
Follow these simple steps to add a cover photo to your forms.
Click on Add Cover Photo.
Upload your image. You can either drag and drop your image into the uploader or click it to select a file from its location.
Your cover photo will now be displayed at the header section of your form. Below is the preview of the form.
Image Requirements:
Accepted Formats: JPEG or PNG
Maximum Size: 50MB
Aspect Ratio: 5:1 (For example, 3000 x 600 pixels)
NOTE: When forms are cloned, cover photos will be cloned as well.
Form Preview on Messaging Apps
We’ve enhanced how Nexl forms appear when shared on messaging platforms like WhatsApp, Messenger, LinkedIn, Teams, and others.
If your form has a cover photo:
A preview of the cover photo will now be displayed when the form link is shared on supported messaging apps. Along with the image, the form title and description will also appear in the preview — giving your shared links a more professional and branded look.If your form does not have a cover photo:
Nexl will automatically display a preview featuring the Nexl logo, along with the form title and description, ensuring that all form links have a clean and consistent appearance when shared.
Nexl Form CSS Editor
It allows you to write, edit, and manage Cascading Style Sheets (CSS) code. CSS is a stylesheet language used to control the presentation and layout of HTML elements on a web page. The Nexl Form CSS editor provides a dedicated space for you to work with CSS, often offering features that enhance productivity and appearance.
Our form editor offers two types of styling options:
Global Form Styling
This option is recommended for establishing a consistent brand style across all forms. It allows you to set universal elements such as fonts, background colors, and general design aesthetics that apply to every form.
Custom Styling Per Form
This feature enables you to customize individual forms, allowing for specific CSS styling tailored to each form's purpose. This is useful for creating unique designs without impacting the styling of other forms.
Default Form Style
Default Form Confirmation Style
Importing Fonts
Importing fonts is necessary when you want to use specific typefaces in your forms instead of the default system fonts. While default fonts are functional, they might not align with your brand’s identity or the desired aesthetic of your website.
Go to fonts.google.com
Search for your preferred font. In this example, we will use “Inter”.
Select the preferred font (i.e., “Inter”)
Click on “Get Font”
Click on “<> Get embed code”
Copy the URL
Paste the URL on a web address bar then hit enter. The woff2 codes will be generated.
Copy the import code (woff2) and paste it into the Nexl Form CSS editor.
Access the Nexl Form CSS editor:
The Starter Block
Paste this first — Before any background or layout change will show, paste this short reset at the top of your CSS. |
|
Form Background
Now set the background behind the whole form:
Form main page background |
|
Confirmation page background | .
|
Want this? | Use this |
Solid colour |
|
See-through |
|
Background image |
|
Still seeing white inside?
The inner panels sit on top of the wrapper and have their own background. To recolour the whole visible area, colour them too:
|
Note Those css-… names are the inner panels. They can change after a platform update — if the inside colour stops matching, right-click → Inspect the inner area to find the current name. |
Hide the platform logo
Removes the small “Supported by” logo at the bottom.
|
Typography & Fonts
Use a custom font (e.g. Montserrat, IBM Plex Sans)
Paste the import line at the very top of your CSS (above everything), then apply the font. Swap the name for any Google Font.
|
|
Want this? | Use this |
IBM Plex Sans | family=IBM+Plex+Sans:wght@400;600;700 |
Montserrat | family=Montserrat:wght@400;600;700 |
Lato | family=Lato:wght@400;700 |
The font-family name must match what you imported Wherever you set font-family, the name in quotes has to match the font you imported above — here 'Montserrat'. If you import IBM Plex Sans, write The rule above applies your font to the whole form at once. The snippets below also include a font-family line so each one carries your font even if you paste it on its own — change that name to match your import. |
|
Important: the form and thank-you page share one CSS box Your Custom CSS applies to both the form and the thank-you page, and they share some names — most notably the title, which is an h4 on both. So a plain h4 { … } rule changes both headings at once. To change only one, put its page in front:
|
|
Style each kind of text
Use the right name for the text you want to change:
Text you want to change | Name to use |
Form title (main page) |
|
Thank-you heading |
|
Intro / description |
|
Heading text block (H1) |
|
Plain text block |
|
Field labels |
|
Helper / caption text |
|
Checkbox / consent text |
|
|
Bold, italic, uppercase, underline
Add any of these inside a text name (such as h4 or label.MuiTypography-subtitle2):
Want this? | Use this |
Bold |
|
Normal weight |
|
Italic |
|
ALL CAPS |
|
Underline |
|
Align text — left, centre, right
|
|
Want this? | Use this |
Align left |
|
Centre |
|
Align right |
|
Use it on any text
|
|
Hide the form title
Want this? | Use this |
Hide completely |
|
Change the words |
|
Reminder Keep the .nexl-form-wrapper prefix so this only affects the form. Without it, the thank-you heading changes too. Style that one separately with .css-1ue5w0u h4 (see the Confirmation Page section). |
|
Bold, italic, uppercase, underline
Add any of these inside a text name (such as h4 or label.MuiTypography-subtitle2):
Want this? | Use this |
Bold | font-weight: 700 !important; |
Normal weight | font-weight: 400 !important; |
Italic | font-style: italic !important; |
ALL CAPS | text-transform: uppercase !important; |
Underline | text-decoration: underline !important; |
Align text — left, centre, right
h4 { text-align: center !important; } /* the title */ |
|
Want this? | Use this |
Align left | text-align: left !important; |
Centre | text-align: center !important; |
Align right | text-align: right !important; |
Use it on any text
| description after form title |
Hide the form title
Want this? | Use this |
Hide completely |
|
Change the copy |
|
Field Layout System
One, two, or three columns (option groups)
Lay a list of checkbox/radio options into columns. Swap Multi-select for your own field's label.
|
|
Want this? | Use this |
One column |
|
Two columns |
|
Three columns |
|
Label beside the input (instead of on top)
Puts the label to the left of the box. Use :nth-of-type to choose how many fields — here the number really is the field count, because text blocks and headings above the fields are a different kind of element and aren't counted. (Change 4 to however many you want, or remove that part to apply to every field.)
|
|
Want this? | Use this |
First 2 fields | form > div.css-kmhjie:nth-of-type(-n+2) |
First 4 fields | form > div.css-kmhjie:nth-of-type(-n+4) |
A specific field | form > .css-kmhjie:has(label[id="preview-form-email"]) |
Every field | (remove the :nth-of-type / :has part) |
Label back on top | flex-direction: column !important; align-items: flex-start !important; |
Why counting can mislead Avoid :nth-child(-n+4) for this. :nth-child counts every item in the form — including text blocks and headings — so a couple of text blocks above your fields will throw the number off (you'll style fewer fields than expected). :nth-of-type counts only the field boxes, because the text blocks are a different element type (span vs div). If you ever place a non-field box among the first fields, target the fields you want by name with :has(label[id="preview-form-…"]) instead — that never miscounts. |
|
Space between fields
Want this? | Use this |
Tighter |
|
Comfortable |
|
Roomy |
|
Input Field Styling
The boxes people type into — name, email, country, date, dropdowns.
Height & corner radius
|
|
Want this? | Use this |
Square corners |
|
Slightly rounded |
|
Very rounded |
|
Taller / shorter |
|
Border, hover, focus & filled states
The visible outline is a separate element. You can colour it at rest, on hover, when clicked into (focus), and when filled in.
|
Borderless (flat) inputs
|
Text typed inside the box
|
Hide or recolour placeholder text
The faint “Type here…” text inside empty boxes.
Want this? | Use this |
Hide it |
|
Recolour it
|
|
Rich Text Editor
Some forms include a rich-text field with a small formatting toolbar. You can hide that toolbar or restyle the typing area.
Hide the toolbar
Left Image: Visible toolbar | Right Image: Hidden toolbar
|
Style & recolour the editor area
|
Checkbox & Radio Groups
Colour of the tick / dot when selected
Left Image: Default styling | Right Image: Custom styling
|
Size of the box / circle
Left Image: Default checkbox size | Right Image: Custom checkbox size
.MuiCheckbox-root .MuiSvgIcon-root, .MuiRadio-root .MuiSvgIcon-root { width: 22px !important; height: 22px !important; } |
The Submit Button
Probably the part you'll style most. Start with size, shape and colour:
Left Image: Default button | Right Image: Custom Button
|
Button width
Want this? | Use this |
Full width |
|
Fixed width |
|
Fit the text |
|
Button shape
Want this? | Use this |
Square corners |
|
Rounded corners |
|
Pill / capsule |
|
Button alignment — left, centre, or right
First make sure the button is not full width (give it a fixed width), then pick one alignment line below.
|
|
Want this? | Use this |
Align left |
|
Centre |
|
Align right |
|
How this works “Auto” margin pushes the button away from that side. Auto on the right pushes it left; auto on both sides centres it; auto on the left pushes it right. |
|
Button colours & hover
|
Change the button text
Use the hide-and-replace trick from Start Here:
|
Confirmation (Thank-You) Page
The page people see after submitting. It has its own names, but the same Custom CSS box controls it.
Part of the page | Name to use |
Whole page area | .css-1ue5w0u |
Heading (“Thank you”) | .css-1ue5w0u h4 |
Message | p.css-1vo9t1 |
Platform logo | .css-1439hib |
Supported by footer | .css-qtnrli |
Background & text
Left image: Default styling | Right image: Custom styling
|
Hide the confirmation heading or logo
Want this? | Use this |
Hide the heading |
|
Hide the logo |
|



































