Hi
A few days ago I reported an issue with translating the date format from English to French. WPML support team was very helpful in finding a solution for me. However, since there is no standard format to have the month displayed in lowercase, I’m left with trying to perhaps use CSS text-transform: lowercase; to do this. Can you help me find how I could do this while my language is French?
Here’s a link to a French post: http://www.impactcrescendo.com/allo-toutlmonde?lang=fr
Much appreciated
Lyse
Hi Lyse,
Not sure what you mean by month, do you mean the archives widget in the sidebar?
Thanks,
Rikard
Hi Rkard,
Yes and not only the sidebar widget but also the post date right below the title of the post. I want the month to be displayed in lowercase, no capital letter in the month’s name.So, the French date should read: octobre (all lowercase).
Sorry for the confusion
Lyse
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.date-container, .news-time, .widget_archive a {
text-transform: lowercase;
}
Regards,
Yigit
Hi Ygit,
But how do I apply this code only if on the French page of the website. I don’t want lowercase for English.
Thanks
Lyse
Hey!
Please change the code to following one
html[lang="fr-CA"] .date-container,html[lang="fr-CA"] .news-time,html[lang="fr-CA"] .widget_archive a {
text-transform: lowercase !important;
}
Cheers!
Yigit
Hi Yigit,
That worked perfectly! Thank you so very much!
Lyse