Hi
In the custom css box remove > and use > sign or space and after the code add !important for eg:
.header .header-inner .nav ul li:hover > ul{background:#ffffff !important;}
Thank You