Jump to content

Topic on Manual talk:$wgLogos

Order of preference for logos

1
Amousey (talkcontribs)

Any information on the order of preference and rules for choosing which logo file will be used?

If this varies by skin then vector-2022, Skin:Timeless and Skin:Monobook information would be most useful.

Is the logo chosen to display also dependent on viewer's screen size? Does the responsive user preference affect this?

Which classes relate to which files would also be helpful to know, particularly .mw-logo-container.

Logos that can be defined are:

  • 1x (135w up to 155h) - used as background image
  • 1.5x (202w)
  • 2x (270w)
  • svg (deprecated and not recommended)
  • icon (50x50 or 100x100) .mw-logo-icon
  • wordmark (135w) .mw-logo-wordmark
  • tagline (135w) img.mw-logo-tagline
  • (no icon, use SITENAME in text) .#p-logo-text inheriting font/colors from .mw-logo-wordmark?

(icon, Wordmark and tag line appear to be used to combine into a single 3-part image)

On MW1.39 it appears that the text sitename may be overlaid on top of the Wordmark (when responsive on, for small screens)

Reply to "Order of preference for logos"