
-
AuthorPosts
-
July 17, 2018 at 11:59 am #986374
Please help me ! I would like translate all the info in “phone number” . And, on mobile, the phone number is white and i want change the color for contrast with the background. Can you help me ? Thank you so much
July 18, 2018 at 5:36 am #986763Hey EALB,
Thank you for using Enfold.
You can supply different phone info for each language.
Use this css code to change the font color on mobile view.@media only screen and (max-width: 767px) { .av_header_transparency .phone-info a { color: red; } }
Best regards,
IsmaelJuly 18, 2018 at 9:22 am #986846Thank you very muchIsmael. But where can i change the langage of phone info please ?
July 19, 2018 at 3:51 pm #987456Hi,
In the theme options, change the language and then set another phone info. You can have different set of theme options for each language.UPDATE: I didn’t notice that you’re using Polylang. Try update the strings manually.
// https://polylang.pro/doc/strings-translation/#translate-strings
Best regards,
IsmaelJuly 19, 2018 at 4:59 pm #987487Thanks Ismael For your help but in the string, not appear the phone info … can you help me plz ?
July 20, 2018 at 2:50 pm #987863Hi,
Thanks for the update.
We’ve added this filter in the functions.php file to change the phone value for different languages.
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1); function avf_header_setting_filter_mod($header) { $lang = pll_current_language('slug'); if($lang == 'fr') { $header['phone'] = '<a href="http://www.paradis.ealbmaquette.com/mediatheque/">Médiathèque</a> - <a href="http://www.paradis.ealbmaquette.com/presse/">Presse</a>'; } else { $header['phone'] = '<a href="http://www.paradis.ealbmaquette.com/en/library/">Library</a> - <a href="http://www.paradis.ealbmaquette.com/en/press/">Press</a>'; } return $header; }
Best regards,
IsmaelJuly 20, 2018 at 3:01 pm #987867Hi Ismael, thank you for your assistance but the site is not functional like before your assistance … the header is not good and many problem to navigate … plz help me because my client must check the site during this week end … sorry but I don’t understand what is happened
July 23, 2018 at 1:42 am #988538Hi,
I’m very sorry about that. I forgot to remove the variable dump code. It’s removed now. Please check the site again.
Best regards,
IsmaelAugust 14, 2018 at 3:50 pm #997141Thanks, everything is OK
Best regards,
August 14, 2018 at 10:27 pm #997344Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
Basilis -
AuthorPosts
- The topic ‘Header phone translation + White on header of mobile’ is closed to new replies.