- POWER Help Center
- Blog
- Blog Post Editor
Why does the header overlap the anchor link when clicked?
The target for the anchor link is not accounting for the height of the sticky header and can be fixed by adding the CSS class included with the theme.
Sometimes the sticky header will overlap the target for the anchor link and prevent the user from seeing the content, this usually occurs when using anchor links in blog posts.
Within the anchor link, if you add class="pwr-anchor vanilla" via the source code, the anchor will account for the height of the header and work as expected.
Once you've created your anchor link, edit the source code to include the class:
If your theme version is prior to v26, you will leave off the "vanilla" and only use "pwr-anchor" for the class.