<style>
tag with custom CSS targeting form elements.!important
if needed to override inline styles.If you’re working with a client-provided HTML embed form that cannot be styled through their platform, you can still style it within Webflow using CSS. Here’s exactly how to do it:
<form>
, <input>
, <label>
, <button>
, etc.input
, textarea
, button
).Drag a "Embed" block onto the page alongside or after the form.
Create a <style>
tag inside the Embed block and write your CSS there.
For example, to style all text inputs and submit buttons:
Example styles:
input { padding: 10px; border-radius: 4px; border: 1px solid #ccc; }
button { background-color: #0070f3; color: white; padding: 10px 20px; border: none; }
If the form uses IDs or specific tag names like input[type="submit"]
, you can target them specifically without needing classes.
<style>
block under the Before section.!important
to ensure your styles apply, e.g., input { border: 1px solid #000 !important; }
.<iframe>
, you cannot style it directly with CSS inside Webflow. Styling requires that the form content lives directly on your page (not in an iframe).You can style a client’s HTML embed form in Webflow by carefully targeting the form’s native HTML elements with custom CSS inside a <style>
tag, placed in an Embed block or Page Settings. Confirm that the form is part of the DOM (not inside an iframe) to fully control the styling.