How do I remove the border from the header and footer in Dawn theme?

Topic summary

A user is trying to remove gray border lines appearing under the header and above the footer on their password page using the Dawn theme.

Attempted solutions:

  • Changed border colors
  • Reduced border sizes to 0
  • None of these approaches successfully removed the lines

Community responses:

  • Multiple users requested the store URL and confirmation that password protection is enabled to provide specific help
  • One user provided a CSS code snippet to add to the Customize CSS section of both the Password header and Password footer:
hr {
  display: none !important;
}

The discussion remains open, awaiting confirmation whether the CSS solution resolved the issue.

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

I am having trouble trying to remove the gray line under the header and on top of the footer on my password page. I have tried changing colors and reducing border sizes to 0, but that didn’t work.

Hey @luchaw2001

Can you share your Store URL and Password if enabled?

Best Regards,

Moeed

Hello @luchaw2001
Can you share store URL?

Hi @luchaw2001

Please add this code to your Customize CSS of Password header and Password footer and save your template

hr {
  display: none !important;
}