This topic has 6 replies, 3 voices, and was last updated 7 years, 6 months ago by Fem.
Viewing 7 posts - 1 through 7 (of 7 total)
Hi there
i beleive “iva-generator.php” is adding an “fa fa-caret-right” character to the polylang language switcher. Even though i am currecly using:
jQuery(document).ready(function($){
$(".lang-item").removeClass("fa-caret-right");
});
to remove the caret-right font, I would like to know how can i change the iva-generator.php to avoid the language switcher displaying this font. This solution is dirty and loads more exceution time. The caret symbol is initially displayed and then goes away.
The following (found here: https://polylang.wordpress.com/documentation/frequently-asked-questions/the-language-switcher/ )
.lang-item, .lang-item-el, .lang-item-en {
list-style: none;
}
does not work. The caret is introduced by the iva-generator.php.
Maybe you can make also this option permanent in future releases or allow the user to have the choice to do so.
Thanx
I think you are asking about the menu arrow icons right? If so can you please share me the screenshot of the section and the language you are using so that I can alter the code for you and BTW why you wish to change the fa-caret icon in Polylang?
Hi
you can see from the picture i attach that the caret is shown even though this is not a drop down menu. It only contains 1 menu item, therefore no need for drop-down indicator like the caret symbol. If I need to do so i will enable the mega-menu option and inlcude the menu items there. Bottom line is the symbol is useless and aesthetically wrong for my case.
Hi
please look at the image https://imgur.com/uMy46gx. The caret symbol is shown for a menu item which has not other items in either drop-down or mega-menu. It is only one item therefore it needs no other indicator. Furthermore it is aesthetically wrong.
thanx
Sorry for the delay in response. It seems to be you are using two menus after checked language switcher you need to create a new menu and then go through the Manage Locations and select the newly created menu.
If still facing the same issue you can contact us on Skype we will reply to you. Our Skype ID: support-aws
Hi
i am not using 2 menus, the language switcher is just one menu item with a setting to hide the current language. I am confident the logic is a bit wrong in the iva-generator.php and their might be a case in the series of conditionals (if, else ) which is not covering correctly the output of the polylang language switcher.
Can you please help through skype?
thanx
Viewing 7 posts - 1 through 7 (of 7 total)
The topic ‘Polylang language switcher’ is closed to new replies.