Try using the following code.
.current-menu-ancestor > ul {
display:block;
}
The class current-menu-ancestor appears if the current item is a parent of a current page item.
Try using the following code.
.current-menu-ancestor > ul {
display:block;
}
The class current-menu-ancestor appears if the current item is a parent of a current page item.