Academy Theme font issues (v4.3)

Academy Theme font issues (v4.3)

by Ciro Camardella -
Number of replies: 11
Hi, I have some issues on slideshow left/right button, menu (see image attached), and so on... 
https://github.com/lmsace/academi/issues/36

Someone solved? How?

Moodle 4.3+
Attachment 275345060-1c9a1210-828b-405e-852f-7a49ce6ffaf4.png
Average of ratings: -
In reply to Ciro Camardella

Re: Academy Theme font issues (v4.3)

by Gareth Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
The FontAwsome version has been updated, so please contact LMSAce.
In reply to Gareth Barnard

Ri: Re: Academy Theme font issues (v4.3)

by Ciro Camardella -
I know. But no answer from LMSAce.

the first post is in september
https://github.com/lmsace/academi/issues/36

In reply to Ciro Camardella

Re: Ri: Re: Academy Theme font issues (v4.3)

by Pikou Tuon -
go to appearance --> additional HTML then past below: . it will working
In reply to Pikou Tuon

Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Ciro Camardella -
Which HTML?

Probably you forgot to paste the code here

In reply to Ciro Camardella

Re: Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Gareth Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Solution.

Edit style/theme.css and change to the following:

--font_2: "Font Awesome 6 Free";

font-weight: 900;

Then purge the theme cache.

If you've found this post useful, then please mark it so.
Average of ratings: Useful (1)
In reply to Gareth Barnard

Ri: Re: Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Ciro Camardella -
This solution is for Academy v3.11 (Moodle 3), not for v4.3 (Moodle 4).

I tried to modify all occurrence of fontawesome into "Font Awasome 6 Free", but not all issues solves.

In reply to Ciro Camardella

Re: Ri: Re: Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Gareth Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
"This solution is for Academy v3.11 (Moodle 3), not for v4.3 (Moodle 4)."? What makes you think that? I downloaded, installed and worked out the fix on https://github.com/lmsace/academi/tree/v4.3.

"I tried to modify all occurrence of fontawesome into "Font Awasome 6 Free", but not all issues solves."? You only need to change the one place that it states, being the CSS variable '--font_2', which is then used. I didn't look for other instances, however it does fix the screen shots presented.
In reply to Gareth Barnard

Ri: Re: Ri: Re: Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Ciro Camardella -
I downloaded the files from Moodle Repository (https://moodle.org/plugins/theme_academi)... and the files are different from github! (for example there isn't file style/theme.css)

I'll try to download from github. Thanks
In reply to Ciro Camardella

Re: Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Pikou Tuon -
-- <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
In reply to Pikou Tuon

Re: Ri: Re: Ri: Re: Academy Theme font issues (v4.3)

by Gareth Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Pikou,

I don't believe that will solve the issue in a positive manner. Please explain technically why importing a Font Awesome version 3 stylesheet will solve the problem? Given that Moodle is using version 6 and was using version 4.

Gareth