- This topic has 5 replies, 2 voices, and was last updated 6 years, 6 months ago by
Sebastian.
Author | Posts |
---|---|
kboxdesign
September 27, 2018 at 9:43 am
|
Heads up! this post was created when Microthemer was at version 5. The current version is 7. Some references to the interface may be out of date. Is there a way to fix Elementor overriding media queries? I don’t have this issue with Beaver Builder.
|
Sebastian
September 27, 2018 at 11:27 am
|
Hey, Do you mean the default media query tabs when you first install Microthemer? If Microthemer detects that Elementor is active when it is first installed, it will use Elementor’s 2 media queries instead the usual 4. This is designed to be a convenience for Elementor users. But you can revert to the usual 4 media queries by doing the following:
Or were you in fact asking something else? Cheers, |
kboxdesign
September 27, 2018 at 11:57 am
|
On the screenshot I already loaded “Desktop first device MQs” but when I click on the “Tablet & Phone” tab it shrinks the preview pane to 360px. Also, it did not load Elementor MQs automatically. |
Sebastian
September 27, 2018 at 2:27 pm
|
Ah I see what you mean. I’ve just released version 5.2.5.3 which will fix this issue for you. Microthemer will only match Elementor’s preview width of 360 if the media query max-width value matches Elementor’s mobile breakpoint (767px by default) AND the media query label in Microthemer includes the word ‘Elementor’. I remember that I ‘ummed and ahhed’ about this when I first added deep integration with Elementor’s responsive features. I couldn’t think of a solution that has no downsides. The workaround I’ve just implemented has a weakness in that users may customise the ‘Elementor Mobile’ and ‘Elementor Tablet’ labels for the media queries. If they remove the ‘Elementor’ bit, the tabs won’t render the preview width the same as when working in Elementor outside of Microthemer. However, the downside you just encountered is worse in my opinion! Cheers, |
kboxdesign
September 27, 2018 at 3:06 pm
|
Thanks for the quick action Sebastian, really appreciate that. A little later after I posted the issue I figured the same thing you found out. So I just created custom media queries and avoided using same values Elementor is using. Having deep integration with Elementor is pretty awesome and helps speed things a lot. I love Microthemer and man am lucky to have a lifetime subscription 🙂 Please continue the great work you guys are doing there at Themeover! Looking forward to more cool stuff! Thanks again, |
Sebastian
September 27, 2018 at 3:15 pm
|
You’re welcome Erwin, thanks so much for the kind words. Really great to hear you’ve found Microthemer useful 🙂 |