Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Active Underline Whole Folder


Dear community

I have added the following CSS code to underline the active pages on my page.

.main-nav ul li.active-link a, .main-nav ul li.active-link a:active {
     text-decoration: underline !important;
  } .main-nav a:hover {
     text-decoration: underline !important;

Now the problem is that the whole navigation folder gets underlined, but I only want the actual site.

How can I do that?

Somehow excluding the other pages in the folder?

Here's my page:


Thanks for you help!

Bildschirmfoto 2020-01-20 um 12.52.16.png

Share this post

Link to post

5 answers to this question

Recommended Posts

  • 0


There is another problem with my mobile version. How can I adjust the padding for the folder here on the mobile version? and make it "drop-down" as on the desktop version?


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...