<style> tag in Page Settings or inside the Embed element to style static HTML elements like inputs and buttons. If your client’s HTML embed form comes with no built-in styling options, you can still style it in Webflow using custom CSS. Here's how to properly apply your own design styles.
<style> tag with your CSS rules.form, input, label, etc.) and write your custom styles targeting those.
Example (inside the <style> tag):
<style>
form input[type="text"] {
padding: 10px;
border: 1px solid #ccc;
width: 100%;
}
form label {
font-weight: bold;
margin-bottom: 5px;
display: block;
}
form button {
background-color: #2c6cff;
color: white;
padding: 10px 20px;
border: none;
cursor: pointer;
}
</style>
Note: This will only work if the embed is static HTML (i.e., form fields are in your page DOM). If the embed is an iframe, you cannot style it directly due to cross-origin restrictions.
job-form-wrapper and write CSS like:
<style>
.job-form-wrapper input {
border-radius: 4px;
border: 1px solid #ddd;
font-family: inherit;
}
</style>
To style a client’s unstyled embedded form in Webflow, use custom CSS inside a <style> tag targeting the HTML elements injected into the page. This works for static HTML embeds but not if the form is rendered via an iframe, which cannot be styled from Webflow.