Topic on Extension talk:MobileFrontend

Iantresman (talkcontribs)

$wgMobileFrontendLogo specifies only a small icon (35×22px). I'd like to show a large logo (or image) near the top of my mobile home page only. Is there a workaround? Can the image be responsive?

Jdlrobson (talkcontribs)

Currently this is not configurable. Open to ideas and to hear more about your use case and how that could be supported.

Iantresman (talkcontribs)

The three image show:

  1. How I'd like to display a header image as my logo for my mobile view
  2. My workaround, currently showing an image at the top of my home page content, with mf- class suffix (and hidden it from my desktop view with some css)
  3. How the page looks without an image on my mobile view (Android, 720x480)

I think a configuration setting using a variable in LocalSettings.php, eg.

  • $wgMFheaderImageAllPages = filename
  • $wgMFheaderImageHomePage = filename (overrides $wgMFheaderImageAllPages)

By default, I would envisage width=100%, and then users can use MediaWiki:Common.css to modify its position, size and whether it is fixed.

173.73.158.163 (talkcontribs)

Has anyone come up with a solution to add a logo header on mobilefrontend?

111.220.142.238 (talkcontribs)

Same question here.

Jdlrobson (talkcontribs)