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.
Hi,
I made the width of the theme 960px and tried adding a logo (which I would use as a header image) of 960 pixels but the theme seems to reduce the size and leaves a black border to the top and sides.
Is there any way to allow the logo to 100% fill the top region?
Please see screenshot attached.
Thanks,
Ray Smith
P.S. Theme looks great so far.
Comment | File | Size | Author |
---|---|---|---|
#2 | header.png | 436.34 KB | Danny Englander |
gratis_header_issue.jpg | 60.95 KB | ray_223 |
Comments
Comment #1
Danny EnglanderHi Ray, this is a great idea. I am thinking I'll roll it in as a full width header logo / banner UI setting. I think right now, it does not work as there is some padding and margins there.
Comment #2
Danny EnglanderI took a look at this and I think the best way to accomplish this is to make a custom block and set it to the "top links" region. The in the theme settings UI, uncheck logo, slogan and site name. Then in the custom block, adjust some css so that it takes up the full width and height. As an example, here is what I did but your code may vary.
You can put this css in a local css or sub-theme.
Comment #3
Danny Englander