I created a custom navigation for one page which is different from the rest of my site. It works fine on desktop view; however, once I shrink the page or use it on a mobile, the toggle does not display show the dropdown with the menu. The initial code I used to block the main site header is:
div#shopify-section-header {
display: none;
}
I’m thinking all I need is to point this hidden feature only to the main header on that page but not the secondary header that I created since it is removing some functions. All of the other buttons work correctly except for this piece. Any help on this would be greatly appreciated. This is the page that is currently giving me issues: https://www.patrickshatner.com/pages/sekse-home
oh sorry for that issue i can’t see that code but If you’re comfortable working with coding languages (eg. HTML, JavaScript, CSS, and Liquid), then you can try to follow the custom coding provided by Custom Mobile Menu Example
Thanks KetanKumar - would that mean that the navigation piece that currently works on desktop would have to be modified separately when making changes? Seems that I am missing one minor detail on the current code that I have since all the functions are present.
Yes definitely. In short, not much custom other than creating a duplicate file of the header section targeted specifically for that page and adding the blocker for the original section header. Thanks for looking at this.
For the Page:
Correct, but it is not a default issue since the default navigation works. Adding the code below blocks the original navigation as it is meant to do, but then when adding a duplicate heading code for the specific page the drop down toggle doesn’t work due to this added code:
div#shopify-section-header {
display: none;
}
I can help, it seems you have different navigation and header for Home Page & sekse-home Page and the Hamburger Menu For Mobile Menu is not working on sekse-home. You can connect with me via Whatsapp.
Thank You!
Would it mean that when making modifications, the navigation element that now functions on desktop would have to be adjusted separately? Since all of the functions are present, it appears that I am missing one tiny aspect in the existing code.
Correct, having two different menus is my intention. The only thing not working is the toggle for the mobile menu which I am trying to fix. Not sure what’s causing the issue.