Yes this condition can be applied that the categories menu shown on sticky menu and hide otherwise.
You can use that mobile menu element in your header from the Woodmart >> Header Builder but remember that it shown on both the static and normal header: