HubSpot Form Field Height: Taming the New Editor's Shorter Inputs for Better UX
Hey ESHOPMAN community! As HubSpot users and e-commerce pros, we're all about making every customer interaction smooth and seamless. That's why a recent discussion in the HubSpot Community caught our eye, highlighting a subtle but significant user experience (UX) issue: the changing height of input fields in HubSpot's new forms editor.
The original poster, a keen observer of user experience, brought up a point many of us have likely noticed but perhaps haven't articulated: "In the new Forms editor, the published input fields are noticeably shorter in vertical height than they were in the legacy forms experience."
This isn't just an aesthetic preference; it's a genuine UX concern. The original poster elaborated that the legacy forms felt "easier to scan, click into, and complete," while the new, compressed fields reduce readability, weaken usability, and make the overall form experience feel less polished. And let's be honest, inconsistent formatting across your sites? That's a brand nightmare.
Why Does Form Field Height Matter So Much?
Think about it from your customer's perspective. When they land on your site – whether it's to sign up for a newsletter, request a demo, or complete a purchase via what you hope is the best online shop builder experience – they're looking for clarity and ease. Forms are crucial touchpoints in the customer journey, especially in e-commerce and lead generation.
-
Readability: Taller fields provide more visual space around the text, making it easier to read placeholder text and user input. Compressed fields can feel claustrophobic.
-
Clickability/Tappability: On both desktop and mobile, a larger target area for input fields is simply easier to click or tap accurately. This reduces errors and frustration.
-
Perceived Polish: Forms that look well-designed and spacious convey professionalism and attention to detail. Shorter, cramped fields can make your site feel less refined, inadvertently signaling a lower quality experience.
-
Accessibility: For users with motor skill challenges or visual impairments, larger, clearer input fields are a significant accessibility win. UX regressions often impact these users first and most severely.
For those of us running online stores or managing RevOps funnels, every micro-interaction counts. A frustrating form can lead to abandoned carts, unsubmitted inquiries, and ultimately, lost revenue. It dilutes the effort you put into attracting visitors in the first place.
Addressing the Shorter Field Challenge: What Can You Do?
Since the original post on the HubSpot Community is an "Idea" submission, it suggests that direct control over form field height isn't currently a built-in feature in the new editor. This means we often have to turn to custom CSS to regain control.
Step 1: Identify Your Form's Specific CSS Selectors
HubSpot forms, whether embedded or standalone, are part of your webpage's HTML. To target the input fields, you'll need to use your browser's developer tools (right-click > Inspect Element) to find the specific CSS classes or IDs associated with the input fields.
Look for elements like , , or within the HubSpot form's container. HubSpot often wraps these in div elements with classes like .hs-input, .hs-fieldtype-text, or parent containers like .hs-form-field.
Step 2: Crafting Your Custom CSS
Once you've identified the selectors, you can write CSS to override HubSpot's default styling. Here's a general example, but remember, your specific selectors might vary:
/* Target general HubSpot form input fields */
.hs-form .hs-input {
min-height: 48px; /* Or whatever height you prefer */
padding: 10px 15px; /* Adjust padding for better spacing */
box-sizing: border-box; /* Ensures padding doesn't add to total height/width */
}
/* Target specific field types if needed */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form textarea {
min-height: 48px; /* Ensure consistency across field types */
}
/* Adjust label spacing if needed */
.hs-form .hs-fieldtype-text label {
margin-bottom: 5px; /* Add space between label and input */
}
A note on min-height vs. height: Using min-height is often safer as it allows the field to expand if more content (like a long placeholder or error message) requires it, while ensuring it never goes below your desired minimum. padding is also critical for visual comfort.
Step 3: Implementing Your Custom CSS in HubSpot
You have a few options for adding custom CSS:
-
Website Settings (Global): Go to Settings > Website > Website Pages > Design. Scroll down to the "Add header HTML" section (or "Add footer HTML" for some themes) and embed your CSS within
tags. This applies to all pages using that domain's theme. -
Page-Specific CSS: If you only want to affect forms on a particular page, you can add the CSS directly to the "Advanced Options" section of that page's settings (often under "Header HTML").
-
Theme Stylesheet: If you're using a custom theme, the best practice is to add your CSS to your theme's main stylesheet. This keeps your styles organized and ensures they load efficiently.
Always test your changes thoroughly across different browsers and devices (especially mobile!) to ensure your forms look and function as intended.
ESHOPMAN Team Comment
We absolutely agree with the original poster's sentiment here. Inconsistent and cramped form fields are a significant UX regression that directly impacts conversion rates, especially for e-commerce. As a built-in storefront for HubSpot, ESHOPMAN thrives on a seamless, polished customer journey, and form design is a critical component of that. HubSpot should provide more granular, user-friendly controls within the form editor itself, rather than forcing users to resort to custom CSS for such fundamental design elements. This level of control is essential for any platform aiming to be the best online shop builder and a comprehensive marketing solution.
While custom CSS can be a powerful workaround, it shouldn't be the default solution for basic UX consistency. The ideal scenario, as suggested by the community member, would be for HubSpot to either revert to a more user-friendly default height or provide direct settings for field height and spacing. Until then, carefully applied custom CSS is your best friend for maintaining a professional and user-friendly experience across all your HubSpot forms.
Keep those forms clean, clear, and conversion-ready!