Sunday, 2 March 2008

SMF showing Greek accented capitals in default theme

The following bit of css code creates a problem with Greek in SMF's default them. Capitals in Greek should not be accented and the default theme turns to uppercase the menu text which on the language file it is entered with lowercase. If the accents in the language file are removed, then the other themes which do not capitalize, will appear without accents and with lowercase, which is, again, wrong.

So, what is the solution? Simple, you open the style.css file of the default theme, and you delete all instances of:

text-transform: uppercase;



/* definitions for the main tab, active means the tab reflects which page is displayed */

.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last

{

background-position: left bottom;
color: white;
text-transform: uppercase;
vertical-align: top;

}

No comments: