I am currently working on developing my first custom WordPress theme from scratch.
My goal is to design a mobile-style menu that can also be displayed on desktop screens.
To achieve this, I have used jQuery to implement the sliding effect. You can view and inspect the code on this website:
However, I am facing an issue where the menu does not adjust its height according to the page. Despite trying various CSS codes (such as absolute/fixed positioning, different display options), I have been unable to resolve the issue.
I have also attempted to make the menu scroll if the page's height is shorter than that of the menu.
If necessary, I am willing to modify the HTML structure in order to fix this problem.
Below are some excerpts of the code related to the header:
[Code excerpt]
In addition, here is the relevant CSS:
[CSS code]
And finally, the HTML snippet pertaining to the header section:
[HTML code]
Your assistance in resolving this issue would be greatly appreciated!