Remove line from form

Topic summary

A user seeks to remove a specific line element from their contact form (the “your order + input place” section) that cannot be hidden through theme settings.

Three solutions were provided using CSS:

  1. Haptech’s approach: Insert custom CSS in the theme.liquid file above the </head> tag (specific code appears corrupted in the original post)

  2. BSSCommerce-HDL’s method: Similar approach - add CSS code in theme.liquid before the </head> tag, with a visual result screenshot provided

  3. Made4uo-Ribe’s solution: Navigate to Online Store > Themes > Assets folder, open the main CSS file (main.css, base.css, style.css, or theme.css), and add this code at the bottom:

#contact_form_page2 > div:nth-child(6) > div {
  display: none;
}

All respondents included screenshots demonstrating their solutions. The discussion remains open with multiple viable CSS-based approaches offered, though some code snippets appear garbled in the thread.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hi,
Can anyone help me to remove the line for the order (your order + input place)? The theme doesn’t have setting for this:

https://wrdapparel.net/pages/contact

1 Like

Hi @Daniel19901

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Hi @Daniel19901 ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Hi @Daniel19901

Check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.
#contact_form_page2 > div:nth-child(6) > div {
    display:none;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like