Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is a patch that changes the way the logo is handled, and allows switching it via the settings form. Also included is an image containing just the logo.
As far as im aware, if the theme includes a logo.png file, it will be used as the logo for the default theme. This is why we cant use the sprite for it. it needs to be a separate file.
Comments
Comment #1
ergonlogicI can confirm this. In the short-term, perhaps consider creating a sub-theme
Comment #2
chertzogHere is a patch that changes the way the logo is handled, and allows switching it via the settings form. Also included is an image containing just the logo.
Comment #3
anarcat CreditAttribution: anarcat commentedit would be nice to keep the sprite by default, is that possible?
it doesn't look like the patch sets a default value for the logo... is there something missing here?
Comment #4
chertzogAs far as im aware, if the theme includes a logo.png file, it will be used as the logo for the default theme. This is why we cant use the sprite for it. it needs to be a separate file.
Comment #5
anarcat CreditAttribution: anarcat commentedgot it, it's good then.
Comment #6
theohawse CreditAttribution: theohawse commentedcan this be committed?
Comment #7
ergonlogicFixed in 06ef4db.
Comment #8
theohawse CreditAttribution: theohawse commentedAwesome thanks!