• 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 Query – Entry

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 Query – Entry

This topic is: not resolved

Tagged: css, media query

  • This topic has 4 replies, 3 voices, and was last updated 11 years, 6 months ago by sweetmelody.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 28, 2014 at 8:01 am #102714
    sweetmelody
    Member

    How can I force the padding of .entry to 5px with the media query method on a screen of 320px and below?

    I've tried:


    @media
    only screen and (max-width: 320px) {
    .entry {
    padding: 5px;
    padding: 0.5rem;
    }
    }

    I've also tried to replace .entry with .post and .content but they don't work.

    Any suggestions? Thanks ๐Ÿ™‚

    http://vegeangel.com/2013/03/10/how-to-make-soy-milk/
    April 28, 2014 at 8:31 am #102716
    David Chu
    Participant

    Hi,
    On the surface, your code looks fine. My thought is that 320 is really small. Maybe try 480px instead and see if that gives you what you want.

    Cheers, Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

    April 28, 2014 at 9:00 am #102724
    Lauren @ OnceCoupled
    Member

    I'm not seeing that code in your CSS. Do you have a caching plugin installed? You should make sure you clear that and ensure your CSS file is up to date with those changes.

    Best,
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    April 29, 2014 at 5:38 am #102882
    sweetmelody
    Member

    @David Lauren is right, Cloudflare caching is the cause, thanks and happy day! ๐Ÿ™‚

    April 29, 2014 at 5:39 am #102884
    sweetmelody
    Member

    Thanks @Lauren, by turning on Cloudfare development mode, I'm able to see the changes!

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