- Why have you not entered the name of the fonts as appropriate where it says so?
- How did you create the material you have shown me and therefore how can I replicate the problem?
Gareth thank you
- where do you mean i have to enter the name of the fonts? and can i enter more than one name?
- how i created the material ? simply by labels,, all the text in my courses is entered manually in labels.
- how can you replicate the problem? i don't know
the thing is why in the same label some sentences are fine and the others are not (please see these two pics)
---------------------------------------
when i go to edit label the font courier new appears fine, the same for times new roman font, when i cancel editing and go back to the course main page without edit anything , some sentences appear fine and other not.
* no problem in clean theme
Ok, looks like a bug where sometimes - with linked text - the set inline font-family can be overridden by the theme. https://github.com/gjb2048/moodle-theme_essential/issues/616 raised.
Fixed in: https://github.com/gjb2048/moodle-theme_essential/commit/5737a9df91452208dda7afd233fb11afeb2934b3 - will be in next release for M2.9 and 3.0.
In the mean time, try the custom CSS:
a {
font-family: inherit;
}
in the theme Custom CSS box under the general settings.
hi Gareth
i commented these two lines then everything went ok.
file name: toolbox.php
file path: \moodle\theme\essential\classes
line 1: $familyreplacement = 'Verdana'; (line number: 356).
line 2: $familyreplacement = 'Verdana'; (line number: 395).
thanks for your hard work Gareth.
Hi Ahmed,
I've double checked those lines in: https://github.com/gjb2048/moodle-theme_essential/issues/624 and they are needed as coded. However, you might be interested in this commit: https://github.com/gjb2048/moodle-theme_essential/commit/6890494bae28e835cf36ec10b66636ec95af2d3f
Cheers,
Gareth