-
Notifications
You must be signed in to change notification settings - Fork 1.6k
❌ Incomplete Issue: Media Query for Widescreen Breakpoint (1440px) is rendered inversed #33559
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
document/assetsReferences any asset (CSS, JS) generated for any document - Posts, Pages, Popups, Templates, etc.References any asset (CSS, JS) generated for any document - Posts, Pages, Popups, Templates, etc.element/containerReferences the Flexbox Container element.References the Flexbox Container element.mod*[Temp.] For internal use only.[Temp.] For internal use only.mod/c*[Temp.] For internal use only.[Temp.] For internal use only.mod/i*[Temp.] For internal use only.[Temp.] For internal use only.site-settings/additional-breakpointsReferences the Additional (custom) Breakpoints feature in the Editor Site Settings.References the Additional (custom) Breakpoints feature in the Editor Site Settings.type/layoutIndicates when a topic is related to a component’s Layout.Indicates when a topic is related to a component’s Layout.type/responsiveIndicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.Indicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.type/stylesIndicates when a topic is related to the styles or design of a component.Indicates when a topic is related to the styles or design of a component.
Description
Metadata
Metadata
Assignees
Labels
document/assetsReferences any asset (CSS, JS) generated for any document - Posts, Pages, Popups, Templates, etc.References any asset (CSS, JS) generated for any document - Posts, Pages, Popups, Templates, etc.element/containerReferences the Flexbox Container element.References the Flexbox Container element.mod*[Temp.] For internal use only.[Temp.] For internal use only.mod/c*[Temp.] For internal use only.[Temp.] For internal use only.mod/i*[Temp.] For internal use only.[Temp.] For internal use only.site-settings/additional-breakpointsReferences the Additional (custom) Breakpoints feature in the Editor Site Settings.References the Additional (custom) Breakpoints feature in the Editor Site Settings.type/layoutIndicates when a topic is related to a component’s Layout.Indicates when a topic is related to a component’s Layout.type/responsiveIndicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.Indicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.type/stylesIndicates when a topic is related to the styles or design of a component.Indicates when a topic is related to the styles or design of a component.
Description
I discovered a responsive CSS bug in Elementor involving the
1440pxbreakpoint.Elementor is generating the following CSS for the container:
What is the problem?
Elementor uses
max-width:1440pxinstead ofmin-width:1440px.As soon as the screen becomes
1441pxor larger, the1440pxrule stops working.Elementor then falls back to the
min-width:768pxrule, which breaks the layout on large desktops.Result:
The design appears correct from
768px→1440px, but completely wrong on>1440pxscreens (e.g., laptops, iMacs, 1920px monitors, 4K monitors).This affects container width, spacing, and overall layout because Elementor uses a CSS variable
--widthfor flexbox container calculations.This behavior does not match expected responsive logic.
Steps to reproduce
/wp-content/uploads/elementor/css/post-XX.css@media (max-width:1440px)@media (min-width:1440px)1400px(layout looks correct)1500px/1600px/1920px(layout becomes incorrect due to fallback to768pxrule)messgae.txt
Expected behavior
Elementor should generate
min-width:1440pxfor widescreen (Desktop+) breakpoints.Correct expected output:
This ensures larger screens inherit the correct layout instead of reverting to tablet/desktop-flex rules.
1441pxto2560px) layouts break.--widthvariable) produce incorrect layout.Elementor System Info
Agreement