Moodle for mobile

Hide part of label/page content only in APP

 
Picture of Dani Palou
Re: Hide part of label/page content only in APP
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi Ferran!

You can create a "remote theme" to hide those elements in the app. A remote theme is a CSS file that is applied to the app when your site is accessed. You can define it in:

Site administration > Mobile app > Mobile appearance

You'll find more info in here:

https://docs.moodle.org/dev/Moodle_Mobile_Themes

Regarding having classes to hide stuff, the framework we use hides elements that have a "hidden" attribute (not a class). I haven't tried adding it in a HTML from Moodle, but I think it should work. So you could try doing:

<div hidden> ... </div>

Cheers,

Dani

 
Average of ratings: -