Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase Z Index for controls #1209

Closed
iamntz opened this issue Jan 23, 2017 · 2 comments
Closed

Increase Z Index for controls #1209

iamntz opened this issue Jan 23, 2017 · 2 comments
Labels
type/ui-ux Indicates when a topic is related to the User Interface (UI), or User Experience (UX).

Comments

@iamntz
Copy link
Contributor

iamntz commented Jan 23, 2017

There are some cases where:

  1. you cannot hit the column controls because you used negative margins on the below/above sections
  2. you have a custom widget that have elements positioned relative/absolute that will be right over the widget controls (edit, delete)

This will fix it:

.elementor-editor-active .elementor.elementor-edit-mode .elementor-editor-widget-settings,
.elementor-editor-active .elementor-column:hover {
	z-index: 9999 !important;
}
@arielk arielk added the type/ui-ux Indicates when a topic is related to the User Interface (UI), or User Experience (UX). label Apr 16, 2017
@AustinGil
Copy link

AustinGil commented May 1, 2017

Just to add to this conversation, I have a fixed header that sits at the top of my pages. On an Elementor page, I cant access the Column or Section settings for the very top Elementor section because the header has a z-index of 50 and the Elementor controls have a z-index of 2.

To fix it, I found that the following rule works well:

The old style:

.elementor-editor-active .elementor.elementor-edit-mode .elementor-element>.elementor-element-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    letter-spacing: 0;
    z-index: 2;
    pointer-events: none;
}

The new styles:

.elementor-editor-active .elementor.elementor-edit-mode .elementor-element>.elementor-element-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    letter-spacing: 0;
    z-index: 999;
    pointer-events: none;
}

@AustinGil
Copy link

Created a pull request here: #1667

@KingYes KingYes closed this as completed May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/ui-ux Indicates when a topic is related to the User Interface (UI), or User Experience (UX).
Projects
None yet
Development

No branches or pull requests

4 participants