Removing 'Create Account' and 'Login' from menu

Topic summary

Goal: hide the default “Create Account” and “Login” links in Shopify theme menus/headers (primarily Brooklyn; later questions for Dawn) while keeping customer accounts enabled and optionally linking to a custom “My account” page.

Brooklyn theme solutions:

  • Desktop/header: add CSS to theme.css/theme.scss to hide account links by selector. Examples used: [href=“/account”], [href=“/account/login”], [href=“/account/register”] {display:none;} and #customer_register_link, #customer_login_link {display:none;}.
  • To remove the full “Log in or Create Account” text block (including “or”) in the header announcement area: .post-large–display-table .header-bar__right .header-bar__module.header-bar__module–list {display:none;}. This was confirmed to work.
  • Mobile (hamburger) menu in Brooklyn required targeting specific IDs (#customer_register_link, #customer_login_link) when href-based CSS didn’t affect the drawer.

Dawn theme updates:

  • Mobile menu: add .menu-drawer__account {display:none;} in assets/base.css. A desktop removal request remains unanswered.

Other requests:

  • Removing legal pages from the main menu (Brooklyn) and disabling a pre-homepage login gate were raised; the latter needs theme customization (hide login page/popup and user icon).

Status: Several CSS-based fixes provided and one confirmed; some items (Dawn desktop removal, legal pages menu cleanup, pre-homepage gate removal) remain open. Screenshots were used for context.

Summarized with AI on February 12. AI used: gpt-5.

thank you for update