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.
hey
i've tried setting a logo through the theme configuration page, but it never displays.
i've looked in the code and it seems the logo part is logo absent.
can you add that, for branding purposes?
Comment | File | Size | Author |
---|---|---|---|
#1 | page.tpl_.php_.patch | 2.14 KB | lpalgarvio |
#1 | style.css_.patch | 1.17 KB | lpalgarvio |
Comments
Comment #1
lpalgarvio CreditAttribution: lpalgarvio commentedhey
made a patch for this and more.
it replaces the branding div html/php code with this:
and adds a few classes to the styles.css:
also added a administration menu class to change the font.
Comment #2
freelylw CreditAttribution: freelylw commentedI have added these code into my files. from the code itself, I guess I should have a region which call header-right ? but I still only got a 'content' region in my site. How can I have a 'header' region ? Thanks
Comment #3
lpalgarvio CreditAttribution: lpalgarvio commentedmy code is flawed. the tabs/tasks get shown incorrectly. i will upload a new version whenever i get new some time.
Comment #4
lpalgarvio CreditAttribution: lpalgarvio commentedprovided you did patch correctly, even thought the css/html needs fixes, you still need to clear the cache and visit the themes page to remap the regions for themes.
Comment #5
TravisCarden CreditAttribution: TravisCarden commentedThis theme is meant to be a direct backport of the Seven theme in Drupal 7, which isn't designed to support a logo, so this request isn't in line with the project's goals. But you can easily create a sub-theme of it and make any modifications you want to the templates and regions in that. That way you can make your changes without having to hack the theme.
Also, when you submit a patch, the status should be set to "needs review". See Status settings for an issue.