Removing 'Create Account' and 'Login' from menu

Highlighted
Tourist
18 0 1

Hi,

 

First of all, I am using the Brooklyn theme, and quite new to coding & css. Here's my problem: I enabled customer accounts as optional in the checkout settings, but I want to remove the links that it creates in the menu. I also created a page called My account, which I want to link to the Login page. Once they are on that page, they will have the option to login or create an account. I can't seem to find the option anywhere to remove the two automatically added buttons anywhere. I assume it should be coded, but don't have any idea how. 

 

 Capture.JPG

0 Likes
Highlighted
Shopify Expert
2960 505 683

Hi @cleverbottles 

Add this css in asset->theme.scss file at bottom:

 

[href="/account"],[href="/account/login"],[href="/account/register"]{display:none;}

 

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
Tourist
18 0 1

Hi @Jasoliya

 

Thanks for the help! That code indeed moved the account icon on desktop (which was first between the cart and the currency converter, see sc), but unfortunately on mobile when I click the three stripe menu, the options still appear as on the previous screenshot. Any idea? 

 

Capture2.JPG

 

Thanks in advance,

Joshua

0 Likes
Shopify Expert
2960 505 683

You want to remove account and login option right? 

Send me your store url 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
Tourist
18 0 1

4.JPG

Here's what I'm seeing. I created a new menu called Help menu (and chose this as my secondary sidebar menu), and placed some pages in there. I also created a page called My account, and enabled Customer accounts (I want this). Unfortunately, when I click the hamburger menu button, it now shows the two options 'Create Account' and 'Login'. I don't want it to show those two options there. I only want it to show the page that I created called 'My account' and for that to link to the Login page (where they can login or sign up if they don't have an account yet.

 

In my navigations, I can't remove the two options because they are not there. 

 

5.JPG

 

I think I need to add one simple line of code somewhere (probably the theme.scss like you mentioned), and don't think hiring someone for that one line is necessary. 

 

Any help would be appreciated!

0 Likes
Highlighted
Shopify Expert
2960 505 683

Yes but your have to send me store url to apply my css without checking store code how can i send you solution.

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
Tourist
18 0 1

cleverbottles.com

0 Likes
Highlighted
Shopify Expert
2960 505 683

Add this css in asset->theme.scss file at bottom:

 #customer_register_link,#customer_login_link{display: none;}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes