How to customize a theme’s navigation menu with css

WordPress automatically generates “current-menu-item” class to the menu of the current page you visit. So in this case, you can do something like-

.current-menu-item ul.sub-menu { display: block !important; }