This is a theme component that will allow you to easily change size and shape of the avatars on your site.
The description of the theme settings should be clear enough, but I add some details:
latest avatar size: change the avatars size on the
/latestpage, all the avatars will be visible up to the
largeonwards, only the avatar of the last user who wrote on the topic will be displayed.
header avatar size: it works well up to the 60px size. For avatars of larger size, the height of the header must be increased (
header height) and consequently the margin-top that distances the header from the other elements of the page must also increase (
I chose not to change the position (in height) of the notification bubble (topics and PMs) so that they remain in line with the red bubble for flagged topics. These bubble will only move horizontally following the avatar size.
How do I install this component?
You install this component just like any other theme. Follow the instructions in the official guide:
Once you’re done, simply add the component to your current theme.
This theme component was written taking inspiration from the guides
- I will probably have to create a particular theme setting for mobile
- The component has not been tested with unofficial plugins, almost certainly there will be fixes to do (of course PRs are always welcome)