WordPress.org

Forums

Link to home underlined when active= wrong! (6 posts)

  1. darrcass
    Member
    Posted 3 years ago #

    I even did </style> * a { text-decoration:none !important; } </style> in my <head> (which I don't want to do) and it still underlines any link to my homepage. WTF?!?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    A link to your site would allow us to investigate the code and help. Otherwise, we can't see what's causing the issue

  3. alchymyth
    Forum Moderator
    Posted 3 years ago #

    don't forget to check if the 'underline' might be a border-bottom in the link style;
    using a free tool such as firebug or firefox web developer add-on could be helpful.

  4. darrcass
    Member
    Posted 3 years ago #

    http://dogknob.com/

    I have Firebug and I can see all the classes that the menu generates, such as menu-item-home. The * a thing was a joking last resort.

    Thanks for your response :)

  5. alchymyth
    Forum Moderator
    Posted 3 years ago #

    it is caused by an underline style, but not on a link:

    .current_page_item {
      text-decoration:underline;
    }

    slightly more than halfway through dogknob.css

    (i did search the stylesheets for all instances of 'text-decoration' to find this one)

  6. darrcass
    Member
    Posted 3 years ago #

    Thanks. You are the boss.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags