Skip to content

Releases

1.0.4

Choose a tag to compare

@karl-bullock karl-bullock released this 01 Nov 20:42
37b94ef

The logo no longer crowds the page title on phones.

Fixed

  • No more overlap with the title. On phones, the logo's tap area could overlap the page title button beside it, so a tap near the edge could hit either one. The title now starts just past the logo. Whenever there's room, the title stays centered exactly as before.
  • Wide logos fit. With a wider logo, the title moves into the free space beside it instead of shrinking. On very narrow screens it shortens with "…" and the dropdown arrow stays visible.
  • The logo keeps its 24px minimum tap area. Desktop is unchanged.

After updating

Run php flarum cache:clear. There are no database changes in this release.

1.0.3

Choose a tag to compare

@karl-bullock karl-bullock released this 01 Nov 15:32
ea9c2ba

A bigger tap target and a properly sized image.

Fixed

  • Easier to tap. The logo link now has a 24px minimum tap area, so it's easier to hit next to the menu button.
  • Sized image. The logo image now carries width and height, so the browser reserves its space before it loads.

Tip

For the lightest page, upload a small custom image (for example a 64px WebP) rather than relying on the full-size favicon.

After updating

Run php flarum cache:clear. There are no database changes in this release.

v1.0.2

Choose a tag to compare

@karl-bullock karl-bullock released this 12 Oct 21:33
6e32a07

Changed

  • The logo now takes a proper place in Flarum 2.0's phone navigation bar. Flarum 2.0 builds that bar from a list of buttons (the menu, back and pane buttons), and the logo now joins that list instead of being added on top of it. Left puts it first and right puts it last, so it always lands in the same place relative to the core buttons. Nothing changes in how it looks or in your settings.
  • The extension shows as "LR Mobile Logo" in the admin sidebar, matching the other Link Robins extensions. It is still the same extension, and your settings are kept.

If you are still on a Flarum 2.0 beta or release candidate, the logo keeps working the way it did before.

v1.0.1

Choose a tag to compare

@karl-bullock karl-bullock released this 14 Aug 17:12
8e6c268

Fixed

  • Tapping the logo now goes to your homepage, whichever page that is. It was going to All Discussions, which is only the homepage on a forum that has not changed its default route. If you have set a custom homepage, the logo was taking people to the wrong place.

Reported by Xkyer (https://discuss.flarum.org/u/Xkyer) on the extension's thread.

Nothing else changed, and there is no new setting. The logo now uses the same route your forum's own home link uses, so it follows whatever you set in Admin, Basics, Default page.

v1.0.0

Choose a tag to compare

@karl-bullock karl-bullock released this 14 Aug 01:15
83c8ae4

First release.

Mobile Logo puts your forum's logo in the navigation bar on phones, where visitors otherwise see only a menu button and no sign of whose forum they are on.

What it does

  • Shows an image in the mobile navigation bar, beside the menu and back buttons, on either side of them.
  • Uses an image you already have. By default your favicon, because a favicon is square and that is the shape a navigation bar has room for. You can point it at your forum logo instead, or at any image address.
  • Taps through to the homepage, like the logo on desktop. You can turn that off.
  • Stays out of the way on desktop, where the header already shows your logo.

Notes

  • If the image cannot be shown, nothing is shown rather than a broken image. That covers an unusable address, a missing file, and a plain http:// image on an https:// forum, which browsers block.
  • A path on your own site such as /assets/my-logo.png is best. Hosting the image elsewhere works, but that host then sees every visitor who loads a page.
  • The idea began as a CSS tweak by 010101 on the Flarum community forum (discuss d/27333). That tweak still works on Flarum 2.0; this exists for what a pseudo-element cannot do, namely a real image that links home and carries alt text.