Pure CSS Scroll-To Padding
Check out this sweet css trick. In your additional css for universal, or snippets for page only. Offset scrolling to any item anchor or otherwise.
html {
--top-spacing: 125px;
scroll-padding-top: var(--top-spacing);
}
Have fun
Join FREE & Launch Your Business!
Exclusive Bonus - Offer Ends at Midnight Today
00
Hours
:
00
Minutes
:
00
Seconds
2,000 AI Credits Worth $10 USD
Build a Logo + Website That Attracts Customers
400 Credits
Discover Hot Niches with AI Market Research
100 Credits
Create SEO Content That Ranks & Converts
800 Credits
Find Affiliate Offers Up to $500/Sale
10 Credits
Access a Community of 2.9M+ Members
Recent Comments
4
Join FREE & Launch Your Business!
Exclusive Bonus - Offer Ends at Midnight Today
00
Hours
:
00
Minutes
:
00
Seconds
2,000 AI Credits Worth $10 USD
Build a Logo + Website That Attracts Customers
400 Credits
Discover Hot Niches with AI Market Research
100 Credits
Create SEO Content That Ranks & Converts
800 Credits
Find Affiliate Offers Up to $500/Sale
10 Credits
Access a Community of 2.9M+ Members

Awesome!
Have you ever used it?
its working perfectly on html anchors with a sticky header and 125px offset
Thank you for letting me know
I did some thorough research this seems to be the best way out of the few that exist. found it on css-tricks.com