Polylang flags displaying html code

Hi there,
I am using Polylang plugin language switcher with Shapely theme, and I have selected a dropdown menu for the languages (flags/names). My website is https://mot-iv.com. The problem is that when I hover over the flag and name in the main menu, the image source code pops up, and it’s huge and looks terrible. I have inputted the following jquery, which removed the image attributes in the dropdown flags, but not on the main flag on either the French or English pages:

jQuery(document).ready(function( $ ){
$(".lang-item a").removeAttr(“title”);

Is there a way I can remove the attributes for the main flag as well?

Any help greatly appreciated!

hey there

add this code as well:

jQuery(document).ready(function( $ ){
$(“.menu-item-1103 a”).removeAttr(“title”);

Thanks! I made a slight modification and this worked!!

jQuery(document).ready(function( $ ){
$(".menu-item-1103 a").removeAttr(“title”);

Thanks a mill :slight_smile:

Sorry, I can no longer spot the modification but it didn’t work the first time but now it does! In any case the issue is resolved. Thanks again!

Great, I will close this case now, Feel free to contact us again if you have other questions Thanks!