Exact size in media query
Question
I want the changes made to the page to be displayed only when the size is selected.
Image
Answers (3)
I used a trick and it was solved.
` deviceManager.add('Extra Small', '576px', {
widthMedia: '576px'
});
deviceManager.add('Small', '767px', {
widthMedia: '767px) and (min-width:577px'
});
deviceManager.add('Medium', '991px', {
widthMedia: '991px) and (min-width:768px'
});
deviceManager.add('Large', '1199px', {
widthMedia: '1199px) and (min-width:992px'
});
deviceManager.add('Extra Large');`I have the same problem please help me Thanks
@artf In fact I want min-width and max-width for devices selected
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1224
[Bug] Media query and classes rendering issue
Hi, I was trying to make a responsive layout but I discovered that the device switcher does not work consistently. The issue can be replica...
Issue #2805
[QUESTION] "Changes you made may not be saved." alert popup is displayed
Hey guys I have some problem related to alert which displayed when I tried log out of page. Actually I do not know bug is it or something e...
Issue #2705
[Question] Adding image sizes to image
When I add an image attribute to the page I noticed that inside of the component the image has attributes to it. When I call my images into...
Issue #3091
[QUESTION] How to use grapesjs with static HTML
Sorry in advance for my English. I'm developing a CMS using Laravel and Vue.js. I want to use grapesjs for editing page content but with st...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.