Phox Elements
FORMS Contact Form 7 styling for Breakdance

Style your Contact Form 7 forms in the Breakdance editor

Paste a Contact Form 7 shortcode into the element and style the form from the Breakdance editor. Set the fields, labels, button and response messages with normal design controls.

Works with any CF7 shortcode Field, button and message styling Set in the Breakdance editor
Live demos

Four Contact Form 7 forms, four different styles

A table booking, a newsletter signup, a free day pass and a project enquiry, each placed with the element and styled in the Breakdance editor. They are demo forms: you can fill them in and press the button, but nothing is sent.

Warm and friendly

Quay Kitchen table booking

Cream container with a 1px border, 6px field corners and a full-width rust button. The form has a date picker and two drop-downs.

    Dark background

    Hazel and Rye newsletter

    Dark container, light labels, 8px fields and an amber button that lightens on hover.

      Rounded

      Summit Gym free day pass

      Soft lilac container, borderless pill-shaped fields and a pill button. Radius 999px on fields and button.

        Minimal

        Linden Studio project enquiry

        No container background or padding, uppercase labels, fields with only a 2px bottom border, and a square button at 50% width.

        Linden Studio · Architects

        Planning an extension, a conversion or a new home?

        Tell us a little about the project. We reply to every enquiry within two working days and the first site visit is free.

        • Residential projects across the South West
        • Planning drawings to completion
        • Fixed fees agreed up front

          How it works

          Three steps to a styled form

          Build the form in Contact Form 7, then style it in Breakdance.

          1

          Create the form

          Build your form in Contact Form 7 as usual and copy its shortcode.

          2

          Add the element

          Drop the Contact Form 7 element onto your page and paste the shortcode into the Full Shortcode box.

          3

          Style it

          Use the Container, Design, Messages and Button sections to match the form to your site.

          Features

          Everything you need to style a form

          The element renders your shortcode and gives you design controls for each part of the form.

          Any CF7 shortcode

          Paste the full shortcode, including the id and title, and the form renders in the editor and on the page.

          Container settings

          Set the container width, a solid or gradient background, padding and borders.

          Label typography

          Set the font, size, weight, colour and alignment of the field labels.

          Field padding and label spacing

          Control the padding inside fields and the space between labels and fields.

          Field borders

          Add borders and corner radius to text, email and message fields.

          Response messages

          Style the success and error messages with their own typography, background colour and borders.

          Button styling

          Set the button typography, background colour, hover colour, width, padding and borders.

          Spacing

          Add margin above and below the form so it sits well in your layout.

          Styled in the editor

          Text fields, labels, messages and the button are all set from the Breakdance editor.

          Use cases

          Where it works best

          Anywhere you already use Contact Form 7 and want it to match your design.

          01

          Contact pages

          Give your main contact form the same look as the rest of the site.

          02

          Quote requests

          Style longer enquiry forms so they are easy to read and fill in.

          03

          Footer forms

          Place a short form in a footer or sidebar and fit it to a dark or light background.

          04

          Landing pages

          Match the form button to your page's call to action colours.

          05

          Client sites

          Keep existing Contact Form 7 forms and restyle them when you move a site to Breakdance.

          06

          Booking enquiries

          Style enquiry forms for events, appointments or rentals.

          Settings reference

          Every control, explained

          This is the full list of settings in the Breakdance editor, with their default values.

          ControlWhat it doesDefault
          Content
          Full ShortcodeThe Contact Form 7 shortcode to render, e.g. [contact-form-7 id="123"].—
          Container
          WidthWidth of the form container, per breakpoint.100%
          BackgroundSolid or gradient background.#FFFFFF
          PaddingPadding around the form.20px
          BordersContainer borders and radius.—
          Design
          TypographyFont, colour, effects and alignment of the labels.—
          BordersBorders and radius of text, email and message fields.—
          PaddingPadding inside the fields.10px
          Label SpacingSpace between a label and its field.—
          Messages
          TypographyText style of the response messages.—
          Background ColorBackground of the response messages.—
          BordersBorders of the response messages.—
          Button
          TypographyButton text style with hover colour.White
          Background ColorButton background, with a hover colour.#2E6BDA
          WidthButton width.50%
          PaddingPadding inside the button.10px
          BordersButton borders and radius.—
          Spacing
          SpacingMargin above and below the element.—
          Tips & FAQ

          Good to know

          Do I need Contact Form 7 installed?

          Yes. The element renders a Contact Form 7 shortcode, so the Contact Form 7 plugin must be active and the form must exist.

          Which parts of the form does it style?

          Text, email and message fields, the labels, the submit button and the response message. Drop-downs, date pickers and checkboxes keep your theme styling, so the booking and enquiry demos add a few lines of CSS to match them.

          Can I use more than one form on a page?

          Yes. Add one element per form, each with its own shortcode and its own styling, as the demos above show.

          Does it change how the form sends emails?

          No. The element only renders and styles the form. Mail settings, validation and fields are still managed in Contact Form 7.

          How do I lay fields out side by side?

          Wrap them in a div with a class in the Contact Form 7 form editor, then give that class a grid in your stylesheet. The booking demo puts name and email in two columns and date, time and guests in three.

          Where do I get the shortcode?

          Open Contact > Contact Forms in WordPress and copy the shortcode shown next to the form.

          Add Contact Form 7 to your next page

          Contact Form 7 is included with Phox Elements, along with 140+ other premium elements for Breakdance.