Apply Anchor Scroll Padding
Last updated
Last updated
We are Realmac Software. We make nice things.
If you need/want your Anchor link to stop (or leave some space) before a Component on the page you can use the Scroll Padding Tailwind Utility class.
Place the following class scroll-mt-[300px]
in the CSS Classes box under Advanced on the Component you're scrolling too. This class will set a offset of 300px, but you can change it to the pixel value you require.