Issue #2752Opened May 4, 2020by motazad10 reactions

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)

motazadMay 19, 20205 reactions
Code SnippetTEXT
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');`
MohammadGh2179May 14, 20203 reactions

I have the same problem please help me Thanks

motazadMay 6, 20202 reactions

@artf In fact I want min-width and max-width for devices selected

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.