Please Help! Drop down menu in the header is not showing in the mobile view - DAWN theme

Solved

Please Help! Drop down menu in the header is not showing in the mobile view - DAWN theme

PrintNStuff
Excursionist
18 0 3

Hei Everyone, I have been looking through similar threads and tried a couple of codes to fix my issue but it did not work. Can somebody please help me out?

 

SO my issue is that my drop down menu is not showing on mobile view. When I click on the 3 lines, there is a window coming up with a slightly gray transparency but not my menu. Checkout the 2 pictures below.

My website: https://printnstuff.eu/

 

1.PNG

2.PNG

Accepted Solution (1)

maxdanko
Shopify Partner
29 3 7

This is an accepted solution.

You need to add the following code inside the theme.liquid file above </head>

 <script>
      if (!document.documentElement.classList.contains('js')) {
        document.documentElement.classList.add('js');
      }
    </script>

 

View solution in original post

Replies 3 (3)

maxdanko
Shopify Partner
29 3 7

 

 

maxdanko
Shopify Partner
29 3 7

This is an accepted solution.

You need to add the following code inside the theme.liquid file above </head>

 <script>
      if (!document.documentElement.classList.contains('js')) {
        document.documentElement.classList.add('js');
      }
    </script>

 

PrintNStuff
Excursionist
18 0 3

thank you! it works!!