UPDATE: I figured out a part of the problem, which was to doe with the OceanWP theme I was using and he settings not always updating correctly.
Still can’t figure out why the header border won’t stick with the menu though.
Sorry, editing to add that it is #site-header-inner, but the problem remains the same and the custom CSS doesn’t fix it.