No need to use your code and you can replace it with this instead. Tweak height accordingly.
.navbar-default .navbar-nav > li > a {
line-height: 50px;
}
WordPress by default doesn’t support transparent colors via their API, so you have to use them manually via CSS by using RGBA color values where last number stands for transparency/opacity.
This is very much old thread and to help keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/unite-support/ instead of replying on others thread as it makes the thread messy and hard to read.
If you want to you can also add reference of this thread in your newly created thread.
We would be more than happy to help you on your new thread.