Added two new fields to the contact form on the dawn theme the last name field and a drop-down list. Please I need help making the email field full width as the phone number field. And the what do you need help with field should display the drop-down icon only, then on-click it should display the available options.
Topic summary
Main issue: Customize the Dawn theme contact form so the Email field spans full width like Phone, and the “What do you need help with?” appears as an icon-only dropdown that reveals options on click.
Recent context: The site URL and contact page were shared, and the contact-form.liquid code was posted (central to the discussion). The code shows the Email field markup bundled within a larger div, and the dropdown implemented with both an input type=“select” and a select element sharing similar IDs.
Key observations: Grouping the Email field with other inputs likely constrains its width. The duplicate/overlapping dropdown elements and IDs can cause layout and behavior issues.
Suggestions provided: Move the Email input into its own standalone div, mirroring the Phone field, to achieve full-width. Use a tutorial resource to correctly add and style custom fields (text, dropdowns, radio, checkboxes).
Action items: Refactor HTML structure (unique IDs, use only the select element), then apply CSS/JS to hide label/text and show only the native dropdown icon until focus/click.
Status: No confirmed fix or code update posted; the thread remains open.
Hello,
Welcome to the Shopify Community.
I read your problem and it seems that I need to analyze your website to provide the solution here.
Would you please share your website URL and if your website is password protected then also provide the password.
@Suavemart On which page the contact form is?
On the contact page, please kindly check again.
this is my contact-form.liquid
{{ ‘section-contact-form.css’ | asset_url | stylesheet_tag }}
{%- style -%}
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
}
@media screen and (min-width: 750px) {
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top }}px;
padding-bottom: {{ section.settings.padding_bottom }}px;
}
}
{%- endstyle -%}
{{ section.settings.heading }}
{%- else -%}{{ 'templates.contact.form.title' | t }}
{%- endif -%} {%- liquid assign contact_form_class = 'isolate' if settings.animations_reveal_on_scroll assign contact_form_class = 'isolate scroll-trigger animate--slide-in' endif -%} {%- form 'contact', id: 'ContactForm', class: contact_form_class -%} {%- if form.posted_successfully? -%}{% render 'icon-success' %} {{ 'templates.contact.form.post_success' | t }}
{%- elsif form.errors -%}{% render 'icon-error' %} {{ 'templates.contact.form.error_heading' | t }}
{% schema %}
{
“name”: “t:sections.contact-form.name”,
“tag”: “section”,
“class”: “section”,
“disabled_on”: {
“groups”: [“header”, “footer”]
},
“settings”: [
{
“type”: “inline_richtext”,
“id”: “heading”,
“default”: “Contact form”,
“label”: “Heading”
},
{
“type”: “select”,
“id”: “heading_size”,
“options”: [
{
“value”: “h2”,
“label”: “t:sections.all.heading_size.options__1.label”
},
{
“value”: “h1”,
“label”: “t:sections.all.heading_size.options__2.label”
},
{
“value”: “h0”,
“label”: “t:sections.all.heading_size.options__3.label”
}
],
“default”: “h1”,
“label”: “t:sections.all.heading_size.label”
},
{
“type”: “color_scheme”,
“id”: “color_scheme”,
“label”: “t:sections.all.colors.label”,
“default”: “background-1”
},
{
“type”: “header”,
“content”: “t:sections.all.padding.section_padding_heading”
},
{
“type”: “range”,
“id”: “padding_top”,
“min”: 0,
“max”: 100,
“step”: 4,
“unit”: “px”,
“label”: “t:sections.all.padding.padding_top”,
“default”: 36
},
{
“type”: “range”,
“id”: “padding_bottom”,
“min”: 0,
“max”: 100,
“step”: 4,
“unit”: “px”,
“label”: “t:sections.all.padding.padding_bottom”,
“default”: 36
}
],
“presets”: [
{
“name”: “t:sections.contact-form.presets.name”
}
]
}
{% endschema %}
@Suavemart If I’m not mistaken is just a matter of taking out the email’s fields from the same
A bit late in response, but it might help someone else if anything…
Hi @Suavemart , learn the ropes of adding custom fields like text, dropdowns, radio buttons, and checkboxes to your Shopify contact form with this insightful YouTube video:
