How to hide "Restricted" conditions with Collapsed Topics format?

How to hide "Restricted" conditions with Collapsed Topics format?

ໂດຍ Rui Hu -
ຈຳນວນການຕອບກັບ: 2

Thanks for Gareth J Barnard great work on this wonderful Collapsed Topics plugin. It solves our problem of endless scrolling on the course page. I just implemented a few days ago and it looks great. 

However, I cannot find a way to hide the texts under the section titles for restrictions. See the red texts below for a sample screenshot:


I know that I can hide the section completely by enable "Display greyed out when conditions not met" under the restriction settings. But that will hide the entire section. 


ການຈັດອັນດັບສະເລ່ຍ: -
ໃນການຕອບກັບຫາ Rui Hu

Re: How to hide "Restricted" conditions with Collapsed Topics format?

ໂດຍ Gareth J Barnard -
ຮູບພາບຂອງ Core developers ຮູບພາບຂອງ Particularly helpful Moodlers ຮູບພາບຂອງ Plugin developers
Use the browser development tools (F12) to double check that the CSS class used is 'availabilityinfo' and then write some custom CSS and put that in the theme custom SCSS setting etc.
ການຈັດອັນດັບສະເລ່ຍ: -
ໃນການຕອບກັບຫາ Gareth J Barnard

Re: How to hide "Restricted" conditions with Collapsed Topics format?

ໂດຍ Rui Hu -
Thanks so much. This is very helpful.
I added CSS below to the custom CSS under Adaptable and it worked:
.availabilityinfo {
visibility: hidden;
position: absolute;
top: -9999px;
}
ການຈັດອັນດັບສະເລ່ຍ: -