Mi spiego: ho costruito una classe di css per un tipo di link e l’ho inserita nel file style.css del template.
a.flag {
color: #800000;
text-decoration: none;
}
a.flag:hover {
color: #800000;
text-decoration: none;
}
Per vederla in azione: http://www.parlarti.com/ è un testo rosso con apparizione di una flag puntandoci sopra il mouse (in effetti non serve a linkare…. mi serviva solo questo flag).
Ma ogni volta che voglio usarla in un post devo andare a inserirla manualmente nell’editor lato html. Eppure quando si inserisce un link con l’editor visuale, nella popup che si apre c’è una casella a discesa “classe” in cui si può stabilire direttamente una classe specifica per quel link. Ma la mia classe non compare. Come mai? Devo metterla in qualche punto o file specifico?