Hello,
I am working on a website that should have 2 different menu, depending on which section you are (and not on roles). So I wanted to desactivate the default menu on page.tpl.php and then to customize 2 menu block. I add these in the "banner region" and set up when menu1 should appear (Only the listed pages > section1/*). This is working fine but I can't see the expanding menu. The reason is that the expanded items are in the banner region and stay under the content region. So I tryed to:
- set up z-index on regions. It works on Firefox and Safari but not on Google Chrome.
- set up Nice-menu but same problem
- set up Superfish but same problem
- set up menu block but same problem
Do you have a solution for me that works for every browser?
Thank you beforehand!
Comments
Comment #1
willbxl CreditAttribution: willbxl commentedComment #2
willbxl CreditAttribution: willbxl commentedI found the solution:
1/ I ask to print the block in the header_menu_inside region:
print render($page['header_menu_inside']);
in the page.tpl.php2/ I created this region in my_subtheme.info: regions[header_menu_inside] = Header
3/ I put the "Main menu" block and the "CUstom menu" block in the Header region
4/ I set up rules inside the block (appear only with my-path/*
Enjoy!