I'm trying Moodle 4.0. How to hide or remove activity type and show only icon and activity name. Thank you.
In reply to Dominique Palumbo
ตอบ: Re: How to hide activity type in Moodle 4.0
In reply to Prush Sa-nga-ngam
Re: ตอบ: Re: How to hide activity type in Moodle 4.0
에 Randy Thornton 씀
Prush
You can use this css to do that:
.activitytitle .text-uppercase { display: none; }
This new element is called the "activitytitle". CSS for this and some variants of it is already posted over this discussion in the Themes forum, thanks to Bob Gilmore. That discussion has a lot of other fixes too.
You can use this css to do that:
.activitytitle .text-uppercase { display: none; }
This new element is called the "activitytitle". CSS for this and some variants of it is already posted over this discussion in the Themes forum, thanks to Bob Gilmore. That discussion has a lot of other fixes too.
In reply to Randy Thornton
ตอบ: Re: ตอบ: Re: How to hide activity type in Moodle 4.0
In reply to Prush Sa-nga-ngam
Re: ตอบ: Re: ตอบ: Re: How to hide activity type in Moodle 4.0
In reply to Dominique Palumbo
Re: ตอบ: Re: ตอบ: Re: How to hide activity type in Moodle 4.0
에 Randy Thornton 씀
You can also put this in the css area for a theme as well. For the default theme Boost, you can put this in Site admin > Appearance > Themes > Boost > Advanced settings > Raw SCSS.
As general rule, if I only need pure css / scss in a theme, I put it there in the Raw SCSS box. If I need some actual html, I put it in Additional HTML. But that's just how I do it: do whatever works for you
Most third party themes have such a css box, though it may have a different name, such as "Custom CSS" etc. if you have several themes on the site, and want the change to apply to all the themes, you can put it in Additional HTML too since it affects all the pages. That does not mean any particular css will work properly in every theme, however, since some themes change how some css selectors work, but if it does, it can save you work since there is only one place to have to change things.
As general rule, if I only need pure css / scss in a theme, I put it there in the Raw SCSS box. If I need some actual html, I put it in Additional HTML. But that's just how I do it: do whatever works for you
Most third party themes have such a css box, though it may have a different name, such as "Custom CSS" etc. if you have several themes on the site, and want the change to apply to all the themes, you can put it in Additional HTML too since it affects all the pages. That does not mean any particular css will work properly in every theme, however, since some themes change how some css selectors work, but if it does, it can save you work since there is only one place to have to change things.
In reply to Rick Jerz
Re: ตอบ: Re: ตอบ: Re: How to hide activity type in Moodle 4.0
에 Randy Thornton 씀
In reply to Rick Jerz
ตอบ: Re: ตอบ: Re: ตอบ: Re: How to hide activity type in Moodle 4.0
In reply to Aleksandr Potapov
Re: ตอบ: Re: How to hide activity type in Moodle 4.0
The UXers are in their own realm. I planted a pointer there https://moodle.org/mod/forum/discuss.php?d=436270.
use this course format
https://moodle.org/plugins/format_designer
and you have option for each activity to shown/hide, activty name, type, title , decription, completion, visits...