I am working on a design where my header-menu is set to fixed position. Within the menu, there are anchor links that scroll to different sections of the same page. However, when users click on these anchor links, the top part of the section is hidden by the menu.
Is there a way I can offset the content div so that it always appears below the menu?
I was able to achieve this using LocalScroll js for regular links, but it doesn't seem to work for the dropdown menu that appears on smaller screen widths (such as the mobile version):
jQuery( '#top, #wrapper' ).localScroll({offset: -150});
You can view the website at: (Please check with a smartphone or window width less than 750px to see the dropdown menu in action).
Thank you in advance for any assistance provided.