Underline on sublinks from navbar

I am making a small site. When a link in the navbar is active, there is an underline on the link. Here is “Formidling” active: Example site. The problem is that when I click fx: “Kurser” in the left sidebar, the underline is disappearing.

I would like that the underline is gonna stay in the menubar when you click on a submenu in the sidebar.

I tried to solve this with the following code, but I think I am going the wrong way?

.current-menu-item {
     text-decoration: underline !important;
}

a:active {
    color: #993366;
    text-decoration: underline;
    outline: 0;
}

Read more here: Underline on sublinks from navbar

Leave a Reply

Your email address will not be published. Required fields are marked *