Hi @Erik Grufman,
I hope you are well today and thank you for your question.
You can try achieving this by using the solution posted in this reply https://colorlibsupport.com/t/uber-menu-after-theme-update/#post-37155 and modify the code of it on line number 100 using the following functions.
Best Regards,
Movin