If you’re using a block theme, follow these steps to make your menu or navigation sticky:
- Navigate to Superb Addons > Custom CSS in your WordPress dashboard.
- Add a new CSS Block with the following code:
header.wp-block-template-part { position: sticky; top: 0; z-index: 10; }
This code ensures that your header remains visible at the top of the page as you scroll, creating a “sticky” effect.