• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to list media queries when using min-width?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to list media queries when using min-width?

This topic is: not resolved

Tagged: media queries, mobile responsive

  • This topic has 2 replies, 3 voices, and was last updated 7 years, 1 month ago by Brad Dalton.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 11, 2018 at 5:59 am #219761
    Geek Dom
    Member

    This might be a silly question but is there a right way to add media queries when using 'min-width' like in the updated sample theme. Should you start with the highest width first or lowest width?


    @media
    only screen and (min-width: 1032px)

    @media
    only screen and (min-width: 960px)

    @media
    only screen and (min-width: 768px)

    or


    @media
    only screen and (min-width: 768px)

    @media
    only screen and (min-width: 960px)

    @media
    only screen and (min-width: 1032px)

    May 14, 2018 at 6:11 am #219839
    Terry
    Member

    Hi Geekdom,

    To share some things I've learned about Responsive Design... (There are many great books and articles, if you want to delve deeper the folks over at A List Apart have some of the best)

    If you're using a Mobile First responsive approach your min-width media queries will start small and grow... Your approach is starting with the smallest mobile screen and growing with increased screen size. Like a waterfall, each previous query is applied to the next graduation and added to.

    If you're using a Desktop first, you max-width queries will start large and decrease. Here your approach is to design first for the desktop, working larger to smaller.

    In both cases your core css remains above the media queries.

    Hope this helps.

    May 15, 2018 at 1:12 am #219889
    Brad Dalton
    Participant

    Look in the new Genesis Sample theme which uses min-width https://github.com/copyblogger/genesis-sample/blob/develop/style.css#L1438


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble