Thread:Extension talk:MobileFrontend/Optimised for mobile, but not on desktops/reply

This seems to work:


 * Add class="mf-homepage" to elements you want to display on mobile displays.
 * In MediaWiki:Common.css, add: .mf-homepage {display:none}, ie:



I had tried to use id="mf-homemobile" with the corresponding #mf-homepage {display:none}, and while the element displayed as expected, the rest of the homepage on my mobile did not display, even though I had not used the "nomobile" class.