Hi,
I have an issue with the Shopify Contact form, where the fields for name, email… disappeared but the stage remains except for the message, making the form useless. I think it’s a CSS issue, can you help?
A Shopify contact form has input fields (name, email) that are visually hidden while the form structure remains visible, making it unusable. The issue appears to be CSS-related.
Proposed Solutions:
Two users suggested similar CSS fixes:
z-index: 1 !important; to #contact_form .input__fieldbase.css, the other in theme.css.input__label states were mentioned but appear incompleteStatus: The thread remains open with no confirmation whether the suggested CSS fixes resolved the visibility issue.
Hi,
I have an issue with the Shopify Contact form, where the fields for name, email… disappeared but the stage remains except for the message, making the form useless. I think it’s a CSS issue, can you help?
@celine79 - please add this css to the very end of your base.css file and check
#contact_form .input__field{z-index: 1 !important;}
Add this css in your Edit code > Theme.css File
#contact_form .input__field{
z-index: 1 !important;
}
.input__field:focus-within~.input__label, .is-filled~.input__label {
transform: scale(0.733) translateY(calc(-24px - -0.2em)) translate(3.665px) !important;
}