FROM CACHE - en_header

Narrative Theme: How to hide login and create account in main menu

Solved
JovieMarie
Tourist
3 1 3

Hello!

I am new to shopify and I am using Narrative theme. I want to hide the login and create account on the main menu. Can anyone please help me? What code do I need to put to make that disappear in the hamburger menu on both mobile and desktop? and where can I add the code. 

JovieMarie_0-1620757623986.png

 

Accepted Solution (1)

Accepted Solutions
JovieMarie
Tourist
3 1 3

This is an accepted solution.

Hi! @KetanKumar 

Currently I was able to hide it. But I am not sure if what I did was right?

This is what I did by adding comment on that section:
Did I do it right?

Screenshot.jpg

View solution in original post

Replies 26 (26)
KetanKumar
Shopify Partner
33447 3353 11063

@JovieMarie 


Sorry for facing this issue, it's my pleasure to help us.

Welcome to the Shopify community!
and Thanks for your Good 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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
JovieMarie
Tourist
3 1 3

This is an accepted solution.

Hi! @KetanKumar 

Currently I was able to hide it. But I am not sure if what I did was right?

This is what I did by adding comment on that section:
Did I do it right?

Screenshot.jpg

KetanKumar
Shopify Partner
33447 3353 11063

@JovieMarie 

yes it perfect can you do this its work

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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
JovieMarie
Tourist
3 1 3

Thank you so much @KetanKumar for confirming it. 

KetanKumar
Shopify Partner
33447 3353 11063

@JovieMarie 

Thanks for update 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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
chocochef
Tourist
3 0 3

@KetanKumar 

Hi there! I'm also having the same problem, could you please share the steps to resolve it? 

Thanks! 

KetanKumar
Shopify Partner
33447 3353 11063

@chocochef 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you 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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
chocochef
Tourist
3 0 3
Hi KetanKumar,

Sorry, I didn't see your reply till now.

My URL is https://www.pascoetasia.com/

Thanks for your help!
KetanKumar
Shopify Partner
33447 3353 11063

@chocochef 

no rush thanks for the update

sorry your 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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
chocochef
Tourist
3 0 3
@KetanKumar

Actually, I think I fixed it, I turned off the customer login or sign in
option altogether, so it's all good now.

Thanks anyway!
KetanKumar
Shopify Partner
33447 3353 11063

@chocochef 

wow it would be great

thank for update

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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
benediktkrohn
Tourist
7 0 7

Hello,

I would also like to hide those 2 login options in the menu, how can this be done by editing the code? 

My URL is: https://panacarevenge.com/

Greetings

KetanKumar
Shopify Partner
33447 3353 11063

@benediktkrohn 

yes please read this 

https://community.shopify.com/c/Shopify-Design/Hiding-part-of-the-main-menu-unless-logged-in/m-p/129...

last 2 

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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
benediktkrohn
Tourist
7 0 7

Hello,

thanks for the link. Where do I exactly insert that code? In which template?

 

Greetings

KetanKumar
Shopify Partner
33447 3353 11063

@benediktkrohn 

you have just remove login and account menu item right?

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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
benediktkrohn
Tourist
7 0 7

yes I want to remove the menu items "login" and "create account", I don't know where to insert the code that is in the Link you gave me

KetanKumar
Shopify Partner
33447 3353 11063

@benediktkrohn 

yes please try this code 

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.navigation__links + .navigation__links li:nth-child(1), .navigation__links + .navigation__links li:nth-child(2) {
    display: none;
}

 

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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
benediktkrohn
Tourist
7 0 7

when I paste that code under the theme.scss.liquid code, the whole lower menu disappears...

KetanKumar
Shopify Partner
33447 3353 11063

@benediktkrohn 

can you please provide your header section code 

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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing