Unfortunately, that code didn’t make any change.
I figured out a different option. I used the Custom Layout option for Neve Pro. Created a Nav menu from Elementor widget which allowed me to make the needed changes. Then placed the menu in the Customization > Header area bar with the Custom Layout option.
This is working great. Really love the flexibility of this theme.