Using the base Omega 7.x-3.0 theme, I have a Panel page set as the homepage (latest dev branch of Panels) and using the Contextual module with D 7.7. When I'm on the homepage the page body is wrapped in <div class="contextual-links-region">, and the contetxual menu ends up showing over the system messages block. Here's the relevant output:

<div id="zone-content-wrapper" class="zone-wrapper zone-content-wrapper clearfix">
  <div id="zone-content" class="zone zone-content clearfix container-12">
    <div id="messages" class="grid-12">messages</div>
    <aside class="grid-3 region region-sidebar-first" id="region-sidebar-first"></aside>
    <div class="contextual-links-region">
      <div class="panel-display omega-12-twocol-9-3" id="homepage">page content..</div>
      <div class="contextual-links-wrapper contextual-links-processed">links..</div>
    </div>
    <aside class="grid-3 region region-sidebar-second" id="region-sidebar-second"></aside>
  </div>
</div>

See attached for where the contextual menu ends up

CommentFileSizeAuthor
omega-contextual-displaced.png40.13 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Title: Contextual links on main content block are displaced” » Contextual links on main content block are displaced
marcoka’s picture

hm could you check what omega is messing up in the css?

marcoka’s picture

Assigned: Unassigned » himerus
himerus’s picture

Assigned: himerus » Unassigned

I'm not sure what/how to fix this issue... I "think" the CORE CSS is actually placing the data at the top right of whatever contextual link container, which in this case (not sure if it is correct) is the ENTIRE content region, which seems wrong, since many items can appear in the region (obviously)

Not sure of a solution on this one.

mist’s picture

Same here

div id="zone-content" class="zone zone-content clearfix container-24">
<aside id="region-sidebar-first" class="grid-6 region region-sidebar-first">
<div id="region-above-content" class="grid-18 region region-above-content">
<div id="region-middle-content" class="grid-18 region region-middle-content">
<div class="contextual-links-region">
<div id="region-below-content" class="grid-24 region region-below-content">
</div>

the #region-below-content is above all other divs in zone.

kay_v’s picture

@flo81 noted a potential solution in a related issue discussion on drupalcommerce.org:

commerce kickstart demo has .grid-24 set as:

display:inline;
float:left;

This pushes the .grid-24 div below the add to cart button, which is where it is positioned in the kickstart demo

Not sure if this solution has other implications, but at the moment it looks reasonable to me. Noting it here in case it's of use to other folks.