Home › Forums › Design › Keeping left nav menu expanded › Reply To: Keeping left nav menu expanded
October 4, 2016 at 10:47 pm
#246172
deb
Participant
WordPress creates ‘current-menu-parent’ by default where ever the page redirects, we can inspect the elements, there will be ‘current-menu-parent’ class on active page. With the help of this class, we can show its child ul by:
.current-menu-parent ul.sub-menu { display: block !important }