How can I hide the navigation bar from login pages on two different sites?

I have two sites that require a login to purchase items. I’d really like to hide the navigation on them from the login page.
First site: https://goodrwill.com/account/login
Theme: Dawn

Second Site: https://sellgoodr.com/
Theme: Symmetry

Not looking to add any apps.

Always backup themes before making changes

This type of change should be documented for longterm maintenance and sanity or enchanced to be an exposed theme setting.

You’ll either need to modify theme.liquid layout file to not render those static sections , or use CSS to visibly hide them.

Dawn themes:

For theme.liquid, or in a custom-liquid section/block on the login template in supporting themes.

{% unless template.name == "login" %}
 {% section 'header' %}
{% endunless %}

See https://github.com/Shopify/dawn/blob/main/layout/theme.liquid#L223

For CSS either in a liquid CSS context or in the customers/login template

{% if template.name == "login" %}
 
{% endif %}

If in login.liquid the if logic can be removed.

An advanced issue may be any stickheader/stickyfooter stick-X features start misbehaving and will have to be disabled for those those templates or be fixed to work properly with hidden elements causing incorrect page height calculations.