Sponsored Content
The Wayback Machine - https://web.archive.org/web/20210225181723/https://github.com/elementor/elementor/issues/7366
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

display flex on elementor-widget-wrap breaks old position absolute design #7366

Closed
tristanleboss opened this issue Mar 7, 2019 · 2 comments
Closed
Labels
bug

Comments

@tristanleboss
Copy link

@tristanleboss tristanleboss commented Mar 7, 2019

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

Before v2.5, the class .elementor-widget-wrap used display: block.
Starting from 2.5, this same class uses display: flex.

This create a problem with widgets created in version prior to v2.5. For example, if you created a column with a background color and wanted to position absolute a picture, it will break on 2.5.

With v2.4 :

image

With v2.5 :

image

Steps to reproduce

Create a colum, set a background color, add a text editor and an image right after, set Custom CSS to position absolute the image:

image

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

Latest WP, Elementor + Elementor Pro

@shilo-ey
Copy link
Collaborator

@shilo-ey shilo-ey commented Mar 10, 2019

@tristanleboss
Thanks for reporting!

We are aware of this and it should be patched soon.
This is caused by the implementation of flexbox to the columns. The patch will add flexbox properties only for pages edited/created since 2.5.0

Please follow this thread for updates.

@shilo-ey shilo-ey added the bug label Mar 10, 2019
@bainternet
Copy link
Collaborator

@bainternet bainternet commented Mar 10, 2019

Fixed in 2.5.4

thanks.

@bainternet bainternet closed this Mar 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants