If your site uses a sticky header(menu, cookie banner, …), you can use this plugin to jump just before the target of an anchor so that
the sticky h
Screenshots

With and without the plugin - On the right side you see how it looks without this plugin: your anchor-target is overlapped by the sticky menu. In comparison to that, on the left side, you see how it looks with this plugin: you will jump a little bit before the anchor-target so it will not be overlapped.

Administration user interface which contains two settings: set standard distance and a CSS class for DOM elements to ignore click events.

Additional feature: Mobile first. It allows to set a maximum width and according distance, which will be used instead of the standard distance. (only PRO-version)
FAQ
1. Why does it jumps when i click to an entry in my accordion/tab-menu?
Because the algorithm looks for the # sign in the URL. Unfortunately accordions and other menu-like structures using # to reference a target. That is getting in the way of the plugin. But in version 2 we introduced a new feature, which allows you to set a CSS class and the plugin will ignore all links using that CSS class.
2. Can i forbid the plugin to fire?
Yes, you set a CSS class which indicates, that the plugin is prohibit from being activated by a click event.
3. I am using a mobile first theme and the menu changes based on the screen width. Do you support different menu heights?
Yes, with version 2 (only PRO-version), we introduced a feature, that lets you set a certain screen width and a value for the distance, which only applies until that width is reached. After the width is higher, the default value will be used.
4. I got weird behavior after clicking an anchor (e.g. moving to the bottom and jumps back immediately)!
We got feedback from users that they experienced weird behavior when clicking an anchor. In almost all cases another plugin or a custom Java Script of the theme is interfering with the Fixed Menu Anchor plugin. The reason is, that it kinda capturing the click event to apply a certain behavior for anchor-links. If you have the same problem, please deactivate other plugins first and see if the problem goes away. If it persists, create a post in the support forum, together with a detailed description of your setup (e.g. installed plugins, active theme). We will look into it and getting back to you.
ChangeLog
2.3
- Full rework of the user interface in the administration area.
2.2
2.1
- Adapted to fit new requirements for WordPress 4.5
- Improved readme.txt
2.0.0 – 2.0.4
- Added new features:
- you can now define a maximum viewport width until a certain distance is to be used (only pro version).
- you can define a certain CSS-class, when it is attached on a link, the click event will be ignored
- implemented test environment on PHP and JavaScript level to improve stability and reduce bugs
- tested plugin if compatible with standard theme of WordPress 4.4.2
- added shortcut in plugin view to reach settings page faster after activation
- bug fixing
- removed unnecessary files (e.g. documentation of used vendors)
1.0.3
- Added helpful information for the community to participate in the future development of the plugin.
1.0.2
- Small adaptions to provide more good information for later usage.
1.0.1
- Added support for
id
attribute to be used to determine a target to jump to
1.0.0
- First release; introducing a way to jump right before an anchor target
- Anchor target recognized using
name
attribute.