I want to deactivate the text, that appears, when you're hovering over topbar tabs (I've marked it red in the screenshot).


Im using the Oshine theme.


  • what version of the theme? – RiddleMeThis Sep 12 '18 at 13:30

This is most likely configured as a title attribute somewhere in the template files, or in a functions.php-like file. I would first find where they are configured, and try to change them from there.

Otherwise, you can still use jQuery to remove the title attributes with something like this:

jQuery( document ).ready(function($) {
    $("header nav a").attr("title", "");

I wouldn't just add JS to remove it when you can go to the source. Search your theme's function.php file for a line similar to the following and comment it out.

 add_filter('nav_menu_link_attributes', 'be_themes_menu_link_atts', 10, 2);

You can simply remove them by adding this code to your functions.php and they will be gone.

function remove_title_attributes($input) {
    return preg_replace('/\s*title\s*=\s*(["\']).*?\1/', '', $input);
add_filter( 'wp_nav_menu_items', 'remove_title_attributes' );

Not the answer you're looking for? Browse other questions tagged or ask your own question.