Removing 'Create Account' and 'Login' from menu

cleverbottles
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

Replies 21 (21)
Jasoliya
Shopify Expert
4519 586 1131

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.
Want to convert visitor to buyers ? try This app.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
cleverbottles
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

Jasoliya
Shopify Expert
4519 586 1131

You want to remove account and login option right? 

Send me your store url 

Want to modify or custom changes on store hire me.
Want to convert visitor to buyers ? try This app.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
cleverbottles
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!

Jasoliya
Shopify Expert
4519 586 1131

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.
Want to convert visitor to buyers ? try This app.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
cleverbottles
Tourist
18 0 1

cleverbottles.com

Jasoliya
Shopify Expert
4519 586 1131

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.
Want to convert visitor to buyers ? try This app.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
Antonio16
New Member
2 0 0

Hello, can you pleae tell me how can i remove these legal pages from my main menu on Brooklyn Theme 🙂 THANK YOU

Annotation 2020-08-12 215704.png

Emilia1234
Excursionist
26 0 3

Hi, this removes log in create account but doesn't remove word 'or' . Can you help please?

Jasoliya
Shopify Expert
4519 586 1131

send me store url

Want to modify or custom changes on store hire me.
Want to convert visitor to buyers ? try This app.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
Kinjaldavra
Shopify Partner
2302 569 1405

hello @Antonio16  and @Emilia1234 


Please provide website url and if your store is password protected then also provide password so I can check and provide a solution here

Want to theme customize contact us E-mail : natztech2312@gmail.com | Whatsapp
Build your professional store with GemPage Page Builder
Emilia1234
Excursionist
26 0 3

Emiliairis.com

Emilia1234
Excursionist
26 0 3

Hi, on the homescreen header announcement bar I need to remove the whole wording "Log in or Create Account".  I already have code but it doesn't remove 'or'. 

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

 

#customer_register_link,#customer_login_link{display: none;}

Screen Shot 2021-06-01 at 11.59.13 AM.png

Kinjaldavra
Shopify Partner
2302 569 1405

hello @Emilia1234 

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

.post-large--display-table .header-bar__right .header-bar__module.header-bar__module--list{
    display: none;
}

 

Want to theme customize contact us E-mail : natztech2312@gmail.com | Whatsapp
Build your professional store with GemPage Page Builder
Emilia1234
Excursionist
26 0 3

Works.  Thanks so much! I will email you for additional things I need.

Kinjaldavra
Shopify Partner
2302 569 1405

thank you for update 

Want to theme customize contact us E-mail : natztech2312@gmail.com | Whatsapp
Build your professional store with GemPage Page Builder
apurbadas
New Member
1 0 0

I am using the dawn theme. Would you please share the custom CSS for removing login in the mobile menu? Thanks in advance.

Kinjaldavra
Shopify Partner
2302 569 1405

hello @apurbadas 


Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.

Want to theme customize contact us E-mail : natztech2312@gmail.com | Whatsapp
Build your professional store with GemPage Page Builder
Jasoliya
Shopify Expert
4519 586 1131

Hi @apurbadas 

1. Go to Online Store->Theme->Edit code
2. Asset->base.css -> paste bellow code in bottom of file

.menu-drawer__account{display: none;}

Want to modify or custom changes on store hire me.
Want to convert visitor to buyers ? try This app.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here