Code showing on Password Page

Topic summary

A user is experiencing Liquid errors on their Shopify password page after implementing code from a different theme. The errors appear because the current theme (Lorenzo) doesn’t support the ‘main-password-header’ and ‘main-password-footer’ section types referenced in lines 201 and 207 of the password layout file.

Solution provided:

  • Edit the password page template within the theme’s coding
  • Remove lines 201 and 207 that are generating the errors
  • The page functions correctly otherwise; removing these lines should eliminate the visible error messages

Status: Resolved - the user confirmed the solution worked.

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

Hi,

I’m using code from a different theme to build a password page: https://myhaveli.com/password

However I think because the theme I’m using (Lorenzo) does not have header/footer sections on this particular page it doesn’t like it. The page works perfectly fine, I just need the coding to be deleted.

Thank you!!

You have two coding errors showing:

  • Liquid error (layout/password line 201): Error in tag ‘section’ - ‘main-password-header’ is not a valid section type

  • Liquid error (layout/password line 207): Error in tag ‘section’ - ‘main-password-footer’ is not a valid section type

They both tell you which lines (201 and 207) that the issues are in. If you remove those lines, the coding will probably stop showing. You just need to edit your password page template (within the theme’s coding) to remove the coding which is generating these errors.

Thanks, that works!!