Remove Log in & Create account

Steph1983
Tourist
3 0 1

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....

 

Screen Shot 2021-01-18 at 14.43.00.png

KetanKumar
Shopify Partner
14046 1636 5033

@Steph1983 

Welcome to the Shopify community!
and Thanks for your question.

Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Kyle_W
Shopify Expert
88 12 39

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!

Kyle W | Helium Dev, LLC
Helium builds apps that merchants depend on:
- Customer Fields
- Meteor Mega Menu
0 Likes
Steph1983
Tourist
3 0 1

@Kyle_W 

OK But I want to keep the account icon...

0 Likes
Kyle_W
Shopify Expert
88 12 39

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!

Kyle W | Helium Dev, LLC
Helium builds apps that merchants depend on:
- Customer Fields
- Meteor Mega Menu
0 Likes
KetanKumar
Shopify Partner
14046 1636 5033

@Steph1983 

sorry 

the store is password protect.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes