Issue #2063Opened June 3, 2019by benvmatheson3 reactions

[Question] Can I disable media queries?

Question

Code SnippetTEXT
Is it possible to disable media queries?

E.g. turn this:
`@media (max-width: 331px){
  .image-block{
    position:absolute;
    top:0;
  }
  .c976{
    width:331px;
    height:526px;
    position:absolute;
  }
}`

Into this:
`.image-block{
  position:absolute;
  top:0;
}
.c976{
  width:331px;
  height:526px;
  position:absolute;
}`

Answers (3)

benvmathesonJune 13, 20190 reactions

I could remove these programmatically, but is it possible to tell grapes not to add media queries to CSS?

benvmathesonJune 17, 20190 reactions

We're needing to allow selecting device sizes while editing, but need to remove media queries. As this is a bit of an edge case, I'm assuming I should expect media queries to always be applied if in device preview mode?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.