Save the changes – and you are done! This is everything you need to make the header section sticky on your WordPress website.
If you are using the homepage built with Elementor, just edit the header layout with Elementor on the frontend. And modify the Section -> Custom Layouts.