Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I would love to see a header block for this template, rather than the header image inserted into the background of the page as it is now. This would make controlling where the header appears and what's in it very easy.
Comment | File | Size | Author |
---|---|---|---|
#3 | ShutterFreak Snapshot.jpg | 60.02 KB | ShutterFreak |
Comments
Comment #1
Sungsit CreditAttribution: Sungsit commentedOops! I'm really really sorry for leaving the project(s) for a long long time. Hope I have a time to improve the theme for many feature requests soon.
Thank you,
Gibbozer
Comment #2
ShutterFreak CreditAttribution: ShutterFreak commentedI have been doing this while customizing the Colourise theme on my site. I attached a screenshot to this post so you can see how it looks like.
Instead of creating a subtheme, I decided to hack the Colourise theme as follows:
If you don't add this "
if ($header_banner)
" check, then you won't be able to display whichever content you assign to this region, as Drupal will have no clue where content for this new region should be pasted in the page!regions[header_banner] = Header banner
That's it :)
A more clean approach is to define a new sub-theme of the Colourise theme, and keep your changes in that new sub-theme. This is how I will refactor my customizations now.
Hope this helps!
Comment #3
ShutterFreak CreditAttribution: ShutterFreak commentedHere's the promised snapshot.
Comment #4
verta CreditAttribution: verta commentedI am about to try to overlay the header with 2-3 regions. I need them to "float" above the image. I like the idea of having a region or two for blocks to the right of the site name/tagline!
Comment #5
ShutterFreak CreditAttribution: ShutterFreak commentedThe simplest solution that could possibly work is using transparent regions that float above the header. Defining the height in pixels and the width in terms of the screen dimensions offered by Colourise should be straightforward.
Comment #6
mikejonesok CreditAttribution: mikejonesok commentedYou my friend are TOTALLY AWESOME! Thanks for the simple and easy tut.
Comment #7
ShutterFreak CreditAttribution: ShutterFreak commentedYou're welcome :)
Comment #8
yashadev CreditAttribution: yashadev commentedThis future is currently (hopefully, if I get the co-maintainer rights) is being implemented into the 7.x-2.x branch