Hi,
I am using Essential Theme
can I change the font type based on lanugage using css?
can I add font awosome icon in slider and how?
thanks
- Only CSS = no - conceptually possible with PHP and CSS - details will take me time. Time is money.
- Look at the FontAwesome documentation.
Gareth,
I think the font is probably changeable using css only as when different languages are selected (if multiple languages are installed on the site), Moodle adds a language body class
lang-en (English), lang-cy (Welsh), etc
wouldn't something like this work in customcss?
@font-face {
font-family: "My Custom Font";
src: url(http://www.example.org/mycustomfont.ttf) format("truetype");
}
.lang-cy p {
font-family: "My Custom Font", Verdana, Tahoma;
}
Possibly. There are always many ways to solve the same problem.
thanks for help
I will try changing font and report here if it worked with me.
about font awesome icon , I can add it in moodle when I have text editor, but in slide show there isn't .
if any one could help and have time it would be great.
thanks