Anchor offset with transparent header
-
Hi,
I’m working with WP 6.4.2 with 2024 Theme and using a semi-transparent sticky header. The transparency seems to be throwing the anchor position out by the height of the header when you scroll to it. What is the recommended workaround for this. On previous sites I’ve added css to target: with an appropriate offset, e.g. 100px and then applied that class to the target, but I’m hoping there is a better way these days that works site-wide without needing to apply a fix to each anchor.
This actual site is in development so I can’t share at this time, but I could stage a test site if really required.
Thanks
Tim
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Anchor offset with transparent header’ is closed to new replies.