• How do I remove or edit the hover text that is displayed on my navigation menu options up top?

    here’s my site
    https://infinitumlimited.com/

    The options listed are 2 pages and 3 category pages. About and Contact are just pages, so the mouse hover shows the Title of the page. No problem.

    But the category pages graphic, web, video, shows the entire description of the categories as the hover text. I’ve done a search and it appears that descriptions is the default text that a category page shows, but how do I edit it so it shows the title instead or even completely remove it?

    thanks
    Jason

Viewing 3 replies - 1 through 3 (of 3 total)
  • First I would check out the menus tab in WordPress here wp-admin/nav-menus.php to see if you can edit it there. Then if you can’t then take a look at your theme’s header.php document. Look for the menu function somewhere at the top. delete anything that says excerpt or description.

    When all else fails, ask the folks that made the theme at:

    https://www.allancole.com/wordpress/themes/autofocus

    Thread Starter Infinitum

    (@infinitum)

    thanks.
    I found this code that seems to do the trick in removing the category descriptions on the hover.

    function quietness()
    {
    return ”;
    }
    add_filter(‘category_description’, ‘quietness’);

    but i still can’t figure out hot to remove the page title attribute.

    Thread Starter Infinitum

    (@infinitum)

    sorry, on second look, it removed the description completely from the actual category page as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove or edit mouse hover on navigation menu option’ is closed to new replies.