Webflow sync, pageviews & more.
NEW

How can I fix the issue of the select (dropdown) button on Webflow not displaying the correct styling on mobile browsers (Chrome and Safari) for iPhone?

TL;DR
  • iOS browsers restrict styling of native select elements, allowing only basic tweaks like font size, color, and background.
  • For full control, build a custom dropdown using divs, interactions, and JavaScript for value handling and form submission.

Dropdown (Select) elements on Webflow often appear with inconsistent or incorrect styling on mobile browsers like Chrome and Safari on iPhone due to OS-level rendering limitations.

1. Understand Native Mobile Dropdown Limitations

  • iOS Safari and Chrome use native iOS rendering for <select> elements regardless of custom CSS.
  • You cannot fully override the appearance (like arrows, padding, fonts) of native dropdowns on iPhone, even in Webflow.
  • Any styling beyond the basic font size, color, and background can be ignored by iOS.

2. Adjust Basic Styling in Webflow

  • Select the dropdown field in Webflow Designer.
  • In the Style panel, apply styling that is typically respected on iOS:
  • Font size
  • Font color
  • Background color
  • Padding (mild adjustments; large padding may not be respected)
  • Border radius (sometimes works, sometimes clipped by iOS UI)
  • Avoid adding background images or custom arrow icons directly to the select element.

3. Use Webflow's Custom Form Dropdown Workaround

If the native select is too restrictive, replace the select with a custom-styled dropdown using Webflow interactions:

  • Create a div block styled like a dropdown.
  • Add a Text Block or Button as the visible field.
  • Below it, create a dropdown list (another div) with clickable Text Links for options.
  • Use Webflow interactions (add open/close animations) to show/hide options when the top field is tapped.
  • Use JavaScript embed code (within Webflow Embed) to set values or submit form data correctly, since you're bypassing the native select.

Note: This approach requires more setup and doesn't have native form behavior (you’ll need custom logic to pass the selected value to a form submit).

4. Accept Native Behavior and Optimize Styling

If you want to use the native <select>, focus on optimizing:

  • Font size and padding: Keep the size large enough for mobile UX.
  • Color contrast: Ensure sufficient text/background contrast.
  • Remove default arrows: You may try -webkit-appearance: none, but it rarely works fully on iOS devices.

5. Confirm Changes on Actual Devices

  • Test on physical iPhones, not just in desktop browser emulation.
  • Use BrowserStack or an actual iPhone to confirm styling behavior.
  • Safari and Chrome on iOS behave the same because both use WebKit under the hood.

Summary

Mobile browsers on iPhones enforce strict native styling on select dropdowns, limiting customization. To fix style inconsistencies, either stick to minimal styling that works within iOS constraints or build a custom dropdown component using Webflow elements and interactions.

Rate this answer

Other Webflow Questions