Forums

Remove the little popups that shows when hovering the menu bar? (8 posts)

  1. MicDK
    Member
    Posted 3 years ago #

    Hi

    Anyone knows how to remove them? I think they make it difficult to use the drop-down menu because they block the view and I don't need to see the same text as is already shown in the menu-bar. My site is offline but I hope you know what I am talking about.

    Great theme - Thanks

  2. jcow
    Member
    Posted 3 years ago #

    I assume you are talking about the title tag in a link tag which is shown when the mouse hovers over the link. To remove the hover pop-up, you would need to remove the title tag from the link, so you would need to delete 'title="Plugins"' in the below example:

    <a href="http://example.com/plugins/" title="Plugins">Plugins</a>

    If your menu is dynamic using something like wp-list-pages, that could be a bit harder though. You would need to return the output (check the function settings), and then do an advanced find-and-replace using something like preg_replace or ereg_replace.

  3. MicDK
    Member
    Posted 3 years ago #

    Thanks for that jcow.

    Yes I just tried to hove over a link and the same little tag shows. I want to get rid of the ones in the menu-bar, so I don't see them if I want to choose the Home page, About page etc. I don't know what they are for because they just shows the same words as the ones I already sees. I tried to search for "title" and "hover" and found some places that I tried to disable but no luck so far.

    I am a newbie so I don't know much about what to edit. So far I have looked at the Theme files and Styles in the Editor. Is that the right place?

  4. MicDK
    Member
    Posted 3 years ago #

    Anyone else got this problem? I really need to get rid of this tag....

  5. jcow
    Member
    Posted 3 years ago #

    Depending on your template as to exactly what you would need to edit; however, your menu is most likely being created dynamically using wp_list_pages(). Changing the output of that function is not simple.

    Here is the documentation on that function.

    Title tags on links are pretty standard, I could give you a quick run-down of how to change it, but you need to post your 'header.php' file, so I can see how your menu is being created. Just the code from '<body>' to the end of the file would suffice.

  6. MicDK
    Member
    Posted 3 years ago #

    Couldn't get in contact with my site because of an windows upgrade - had to change my hosts file, but now I am back!

    Not sure if I want to remove title tags on links completely because I just read that using those will give my site a better rank in search engines.... don't know if it is true?
    But it would still be nice to gain control over them, so that I decide if they should be there and what they show.

    I have now search all php and css files for "title="Plugins" but none of the files contain that line.

    Here is my copy of "header.php":
    ---------------------------------------------
    <?php include('templates/start.php'); ?>

    <!-- container START -->
    <div id="container">

    <?php include('templates/header.php'); ?>

    <!-- content START -->
    <div id="content">

    <!-- main START -->
    <div id="main">
    ---------------------------------------------

    Hope that is what you need...
    Thanks for your time, I really appreciate it.

  7. MicDK
    Member
    Posted 3 years ago #

    I got a feeling that my header.php contains too little information... Guess that making a website with wordpress isn't that easy after all.

  8. mg12
    Member
    Posted 3 years ago #

    Hey MicDK, I will add an option to control the Feed box, then you can disable it in 'Current Theme Options' page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags