Allow Clickable Parent Menu Links Dawn 11.0

Hello! After including the dropdown menu and its child links, I discovered that the parent links in the header were no longer clickable. I attempted the code changes in previous Q&As, but it seems they don’t apply to my situation.

Can someone assist in making parent links clickable on desktop and mobile devices?

My website is https://fc4bfd.myshopify.com/

I greatly appreciate it.

Hi @marketlink

You can do that from Online store > Themes > Edit code > open header-dropdown-menu.liquid file, go to line 19, replace this code


   {{- link.title | escape -}}

With this one


    
    {{- link.title | escape -}}
     

Open file header-drawer.liquid to make parent clickable on mobile. Go to line 32, find this line of code

{{ link.title | escape }}

And replace with this


     {{ link.title | escape }}

Hello I’ve tried what you suggested but I get an error