badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

navigation in side bar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #89531
    pepsi
    Participant

    Hi,
    I like to set up nativation witget in right side bar. I need just one topic opened (where Im at at the page), otherways showing the whole navigation is much to long. How can I do this?

    #90029

    Hi pepsi,

    Please go to ‘Appearance > Customize > Design Option > Custom CSS’ and paste the below Custom CSS code.

    .widget_nav_menu .menu-item-has-children .sub-menu,
    .widget_nav_menu .menu-item-has-children .current-menu-item ~ .menu-item {
    	display: none;
    }
    .widget_nav_menu .current-menu-ancestor .sub-menu,
    .widget_nav_menu .current-menu-parent .sub-menu {
    	display: block;
    }
    .widget_nav_menu .current-menu-ancestor .sub-menu .sub-menu,
    .widget_nav_menu .current-menu-parent .sub-menu .sub-menu {
    	display: none;
    }
    .widget_nav_menu .menu-item-has-children:hover .sub-menu,
    .widget_nav_menu .menu-item-has-children:hover .current-menu-item ~ .menu-item {
    	display: block;
    }

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.