Out of the box the body classes are:
<body class="html not-front logged-in no-sidebars page-node page-node- page-node-2 node-type-oa-space og-context og-context-node og-context-node-2 node-promoted region-content panel-layout-radix_bryant_flipped panel-region-contentmain panel-region-sidebar panels-ipe" style="padding-top: 134px;">
Disable the oa_breadcrumb block in the header minipanel and it changes to:
<body class="html not-front logged-in no-sidebars page-node page-node- page-node-2 node-type-oa-space og-context og-context-node og-context-node-2 node-promoted region-content panel-layout-radix_bryant_flipped panel-region-contentmain panel-region-sidebar panels-ipe" style="padding-top: 39px;">
The change in padding from 134px to 39px causes the main wrapper div to float up against the body padding and stuff gets hidden under the header.
Comments
Comment #1
mpotter commentedThere is javascript code in both Open Atrium and in the Navbar module to update that padding-top value based on what's in the header. Make sure you aren't getting Javascript errors that might prevent this from working and clear your browser cache.
If you still have trouble, post exactly how you are removing/disabling the oa_breadcrumb block.
Comment #2
druplicate commentedMy intent was to replace the OA breadcrumb block with a Superfish main menu and that's when I noticed this behavior.
To simplify the bug report I just disabled the breadcrumb block at
admin/structure/mini-panels/list/oa_toolbar_panel/edit/contentby disabling that pane and didn't replace it with anything else or remove the pane - just shows "status: hidden".This happens cross browser and OS. Didn't see any js errors.
Comment #3
mpotter commentedWhen I disable the breadcrumb widget as you described on a clean OA install I'm not able to reproduce this.
The way this works is the Drupal.displace() JS function in Navbar and in OA computes the height of the toolbar, banners, etc and updates the body-padding. So it sounds like whatever widget (silverfish menu) replaced the breadcrumb in the navbar maybe isn't properly reporting it's height somehow or you have made some other changes to the toolbar (or maybe it's already magically fixed in the 2.30 release I'm using).
But there isn't anything in the code specifically looking for the breadcrumb widget.
Comment #4
druplicate commentedTo simplify this I removed the Superfish menu pane entirely so the only thing different from the plain vanilla install is I disabled the OA breadcrumb pane. I have this problem with two different installs on different computers and I see it in Chrome and FF.
I do drush cc all and shift-reload in Firefox after every mod to the toolbar minipanel as well but it doesn't fix it.
I also have css and js aggregation turned off for troubleshooting.
I'm using OA 2.26, not the dev version.
I also just noticed that with the minipanel reverted, so as to start from scratch, logged in as user-1 and then log out, the padding-top goes to 317px and the oa-navbar gets a huge height:
There's a large gray bar as a result. Flushing site cache and/or reloading the page doesn't clear it.
What's even weirder is the presence of the Firebug console affects it - reloading the page with FB on makes the padding 224px. Just once, reloading the page with FB on reset the padding to the normal 134px but then killing FB and reloading the page brought it back to 317px but I couldn't repeat it.
Comment #5
mpotter commentedI guess at this point all I can suggest is to wait and try the new release, which will hopefully be later today. If you still see the problem in 2.30 you'll want to try it in a clean install to reproduce it.
Comment #6
druplicate commentedThis has nothing to do with altering the contents of the mini panel footer or Superfish per se, after all. I had changed two things at once leading to a false conclusion.
The problem has to do with the height of the header region of the mini panel. I had uploaded a custom banner that was twice the height of the default OA banner and the extra height isn't being properly accounted for.
However if you select "Replace Breadcrumb toolbar with main menu " the problem does not occur. It only happens when you disable the breadcrumb block (and/or replace it with something else like a Superfish menu) AND use a larger banner image.
It's also affected by the site slogan - even with the default banner the slogan will increase the header height and create this problem.
There remains the other problem of the huge gray bar upon logging out when you disable the breadcrumb block or replace it with something else, even with the default banner and no slogan.
I'm using 2.30RC1.
Comment #7
mpotter commentedI found the problem! The oa_toolbar.js file that sets the class used by the navbar displace() method wasn't being loaded in all cases. I have updated oa_toolbar to fix this in commit fb1855e and will have this in the 2.30-rc2 release in a couple of days. Sorry it took so long to find this one.
Comment #8
druplicate commentedMostly fixed but still have large gray bar under toolbar when logged out even with the stock mini panel setup, default OA banner and no slogan.
Comment #9
mpotter commentedCan you summarize the steps needed to reproduce this in 2.30-rc3? I'm not seeing it in the fresh install. Are you still just disabling the breadcrumb block?
Comment #10
druplicate commentedUncheck:
Show main menu (if it has items)
Show Site banner next to main menu
Replace Breadcrumb toolbar with main menu
Under "Banners" check only "Use default banner". Place it above the toolbar.
Logout.
Comment #11
mpotter commentedOK, found the problem. The javascript wasn't running and there was also a bug causing the javascript to think the log was being stretched when it wasn't.
Fixed in oa_appearance 889224b and oa_radix 3922234