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.
Placing blocks in the header does not work in IE or firefox.
Placing blocks in the header does not work in IE or firefox.
Comments
Comment #1
Lioz CreditAttribution: Lioz commentedactually header has no regions.
you have to create extra regions to insert blocks inside it
Comment #2
Sam308 CreditAttribution: Sam308 commentedIf there is no header region in the theme, why put the header as a region in the block area?
Is is difficult to create the header region? Would it be to add a little code somewhere?
Thanks you,
Side Note:
I have spent hours trying to make the Giordani theme resizable to fit the browser window, but I was only able to get the outer frame of the theme (the area outside the block areas) to resize to the browser window. I cannot get the center content or right side block areas to resize or move properly.
Is there a simple fix to this?
This is a great theme, but I would like to make it resizable to fit the browser window.
Comment #3
sorensong CreditAttribution: sorensong commentedAlso really interested in knowing how to add block to header region. Some code examples would be awesome. Thanks.
Comment #4
DrupalSza CreditAttribution: DrupalSza commentedAgreed w/ @sam308 .
If no region, then why can we drop a block into that region?
Also agree w/ @sorensong .
Interested in learning how.
Comment #5
cayci CreditAttribution: cayci commentedyou can put
print $header
code into page.tpl.php file which is in your subtime directoryafter that
then
create a file named "block-header.tpl.php" in marinelli theme directory
in layout.css
create a style for top-banner
example:
Comment #6
wwwoliondorcom CreditAttribution: wwwoliondorcom commentedHi,
I also would like to but a block in the header, any help to do this without code, because I tried it and it doesn't work for me ?
Thanks.
Comment #7
Hestton5587 CreditAttribution: Hestton5587 commentedI tried this and it doesn't work. I also tried transplanting the footer block into the header, but that doesn't work either. Any more guidance?
Thank you.
Comment #8
Crappie101.com CreditAttribution: Crappie101.com commentedI realized that if you are using sub-themes of this one, a folder is created with the sub-theme name in the primary themes folder. I my case the path was /sites/all/themes/marinelli/giordani. I made the changes to the files there and all was well.
Thanks.
Comment #9
kahemker CreditAttribution: kahemker commentedSo, we don't have a solution to this issue yet... any new ideas? I just updated my website and my header block is not working now too. My temporary solution is to move my primary links which were in the header block to a sidebar, but I would like them in the header soon (the dropdown tabs worked well)
Comment #10
mgvanmiddelkoop CreditAttribution: mgvanmiddelkoop commentedThis works perfectly for me, I have used it to replace the standard header with a ddblock rotating images header.
Comment #11
technobrarygeek CreditAttribution: technobrarygeek commentedIf anyone still cares. I needed to add a mobile redirect to the Giordani version and my Header block region was there to add blocks to but had no region and thus did not work. I found the problem. In the page.tpl.php of the sub-theme you will find this:
It should read:
Made this minor typo change and it works like a charm.
Comment #12
oadaeh CreditAttribution: oadaeh at Flatt and Sons commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.