• 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

@media not all, not all {

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 › @media not all, not all {

This topic is: not resolved

Tagged: @media not all, not all {

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 7 months ago by Paula.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 11, 2015 at 11:52 am #140487
    Paula
    Member

    Hi,

    I use quiet a lot of icons on my site. I dont want all of them to display on the smallest mobile devices.

    1) Is that possible? and how?

    Regards,

    Paula

    February 11, 2015 at 12:24 pm #140495
    Krishan
    Member

    Yes, it is possible. Use media queries and then display none for all of the icons.
    such as

    @media
    screen and (max-width: 300px) {
    .icon-class{
    display: none;
    }
    }

    The max-width size will depend on the screen size of the mobile device. Find out from http://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Thanks


    Kulwinder Krishan
    I love helping people with Any Genesis Theme Customizations.
    Check my website at http://www.ew3tech.com

    February 11, 2015 at 12:42 pm #140496
    Paula
    Member

    Hi Krishan,

    Thanks for your answer.

    I wrote "I use icons" but I make images from them.

    I tried your example but that did not work out. (ofcourse :-))

    So I am happy if you could give me one more hand 😉

    And is it possible to just let specific images away?

    Thanks

    Paula

    PS I do understand the @media screen and (max-width: XXXpx) {

    February 11, 2015 at 2:22 pm #140507
    Krishan
    Member

    ok sure,
    is your website live? I will be able to see myself. If not,

    How are you adding the icons to your site? Using widgets or html or any other method.
    I need to know the classes or id attributes for images(icons) so that we can select them specifically.

    The above example is general expression. It gives you an idea but it won't work as it is.

    Thanks


    Kulwinder Krishan
    I love helping people with Any Genesis Theme Customizations.
    Check my website at http://www.ew3tech.com

    February 11, 2015 at 2:50 pm #140512
    Paula
    Member
    This reply has been marked as private.
    February 12, 2015 at 12:56 pm #140622
    Paula
    Member

    Hi Krishan,

    I sended you an reply as private because my site url was in it. Here the textbox color went blue but I am not sure if you received my message 🙂

    Cheers Paula

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2026 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