The Exit Button On Narrative Theme Is Not Working. (when I open the main menu)

I can’t close the main menu once I open it.. The exit button is not working.

My website: https://oxytocin-sa.myshopify.com

1 Like

Hello there,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. In your theme.liquid file, find the (press CTRL + F or command + F on Mac)
  3. paste this code right above the tag:

Unfortunately it’s not working, any chance i can give you the permission to edit the code for me?

I’d be thankful for it:(

Hi @Fares2 ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Find “theme.liquid” file-> Find “” and paste below code at the before :
$(".site-header__navigation").click(function(){
      $('body').toggleClass('navigation-open');
})

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Unfortunately nothing changed, can you please check the issue for me? I will give you the permission.

Hi @Fares2 ,

If you trust you can give me admin permission so I can check.

Thanks you

Request it and I will give it

Hi @Fares2 ,

The code I sent you, I forgot to put it in the tag pair. So you can try the code below again.

Find “theme.liquid” file-> Find “” and paste below code at the before :


If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Unfortunately still, can you please send a permission request so you can see what’s the problem?

Thank you.

Hello @Fares2

Greetings!!

Shopify Admin go to online store > themes > actions > edit code

Please paste the below code in your theme.liquid after the complete body tag

Let me know if you have any queries

If it is helpful then please like and accept it as a solution!

Hello @Fares2

Greetings!!

Shopify Admin go to online store > themes > actions > edit code

Please paste the below code in your custom.js

$(document).ready(function(){
$(“.site-header__navigation”).on(‘click’,function(){
$(‘body’).toggleClass(‘navigation-open’);
})
});

Let me know if you have any queries

If it is helpful then please like and accept it as a solution!

@SetuBridge_1 Works very well for me!

Thank you for your help!

My pleasure !!

Also, we have provides these services

https://nimb.ws/GydnMt

If need any improvement on your site, Please connect me with your all requirements. Please send a private message to me

If it is helpful then please like and accept it as a solution!