How do I hide elements on my desktop Vector-skinned home page display, that are meant for display on mobiles only? eg.:
<div id="mf-homemobile">[[file:homepagemobileimage.jpg]]</div>
Per Configuring the main page, the "mf-" class/id prefix adds the element to the mobile display. But it also displays on my desktop display.
- Is there a corresponding "nomobile" class (ie. "nodesktop") class?
- Is there a CSS snippet that can be added to MediaWiki:Common.css
- Is there another extension I need?
I am using MW 1.23.5.