Hello guys!
Im a newbie here trying to deal with the Brooklyn Theme...
I wanted to know how to remove the "Log in" and "Create account" item from my menu....
Welcome to the Shopify community!
and Thanks for your question.
Please share your site URL,
So I will check and provide a solution here.
Hey @Steph1983!
Most all Shopify themes (including Brooklyn) are designed to automatically show links for "Log in" and "Create account" in the store's main navigation bar if customer accounts are enabled. Technically you could edit your theme's code to remove these specific links, but another option is to disable customer accounts in your store's settings. You can disable customer accounts in the Shopify admin by going to Settings > Checkout > Customer accounts. If you select the option for 'Accounts are disabled', then the links for "Log in" and "Create account" will be removed from the store's navigation.
Hopefully this helps!
Thanks for clarifying, @Steph1983!
If you're referring to the 'Person' icon that shows up on the desktop version of your store, then you'll want to keep customer accounts enabled in Shopify. There's a couple different ways to remove the "Log in" and "Create account" links from the mobile version of Brooklyn by editing theme code, but this might make it more difficult for customers on mobile devices if they want to access those pages...
That being said, CSS would be the easiest way to hide the links in question. You should be able to add something like the following to the bottom of your theme's stylesheet:
.mobile-nav__item #customer_login_link,
.mobile-nav__item #customer_register_link {
display: none;
}
The stylesheet for the Brooklyn theme is normally assets/theme.scss.liquid. You can find this file in the code editor in the Shopify admin (Online Store > Theme > Actions > Edit code).
Please give this a try on your side and let me know if this does what you are looking for!
sorry
the store is password protect.
User | Count |
---|---|
427 | |
166 | |
100 | |
99 | |
96 |