Add small logo to a theme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Lisa Seeto |
Bug Description
It is possible to upload a small logo via Admin menu -> Institutions -> Settings to each institution. However, the default themes in Mahara don't seem to provide the opportunity to have a small logo there per default, which makes it harder to theme because then no small logo could be uploaded via the theme.
What should be possible?
1. Add a small sitelogo (as SVG and PNG file) into the raw theme and other themes that contain a custom theme. That way, the logo would be picked up when the default themes are viewed. Logo files are provided below.
We have several versions of the logo to account for dark backgrounds and light backgrounds in the configurable theme. Some of the other themes might also have their own version of the logo on the site to accommodate the background.
2. When an institution uploaded a custom regular logo but no custom small logo, do not switch to the built-in small logo as that would change the brand. Keep the normal uploaded logo that gets a bit smaller.
3. Rename "Small logo" in the institution settings to "Mobile logo" to make it more obvious that people should upload it. We can't force the upload of a logo though. A new language string ID needs to be created so that it's picked up by the translators.
When an institution uploads a small logo that will be used instead. That already does work.
To summarize for what should be possible in the end:
A. No logo or mobile logo uploaded through the admin area: Use the theme's logo and mobile logo.
B.Logo uploaded through the admin area: Use that logo instead of the theme's logo. Use it also on mobile devices and do not switch to the theme's mobile logo.
C. Logo and mobile logo uploaded through the admin area: Use both instead of the theme's logo and mobile logo.
description: | updated |
Changed in mahara: | |
status: | Confirmed → In Progress |
description: | updated |
Changed in mahara: | |
milestone: | none → 19.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
The small logo in all the necessary versions for upload (SVG, PNG, light, dark, normal).
Note: The logo is not centered in the file but left aligned so that it sits on the left with the correct space to the screen edge.