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

Active Underline Whole Folder

Question

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:

pascalreinmann.com

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

@tuanphan

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?

1923468608_Bildschirmfoto2020-01-21um10_08_42.png.ba252bb838fd83bca3e568fa9860d191.png

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...