Site logo

Archived topic

Left sidebar secondary navigation without a dropdown

6 replies · Started by Eric on February 4, 2021

Viewing posts 1–7 of 7

Hi folks,

Is it possible to have a secondary navigation with a location of 'Left Sidebar' which does not use a dropdown menu? In other words, it is a standard Wordpress menu (with nested HTML lists) which can be independently styled with CSS.

Here is a simple example of what it could look like:

Secondary navigation

Thanks for your feedback.

- Eric

Hi Eric,

You can go to Appearance > Widgets, add Navigation menu to your left sidebar.

Let me know how it works.

Hi Ying,

Thanks for your response. That works fine with a single menu however I need to set different menus for different sets of pages (using the Conditional Menus plugin). To do this I need to go through Appearance > Menus to create the menus (which adds the dropdown).

Is there a way to create a standard menu without the dropdown through Appearance > Menus? If not, are there any CSS styles which would transform the menu into a standard menu?

Thanks,

- Eric

You could give this CSS a try to keep the sub menu always open:

.inside-left-sidebar .menu-item-has-children ul {
    position: relative;
    top: 0;
    left: auto!important;
    right: auto!important;
    width: 100%;
    pointer-events: auto;
    height: auto;
    opacity: 1;
    display: block;
    visibility: visible;
}

These are both helpful suggestions. Thanks to you both (Ying and Leo)!

- Eric

No problem, hope it works for you :)

This archived topic is closed to new replies.