• 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 can I optimize blog post image dimensions for mobile (any orientation)

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 can I optimize blog post image dimensions for mobile (any orientation)

This topic is: not resolved

Tagged: image dimensions, image optimization, images

  • This topic has 2 replies, 3 voices, and was last updated 11 years, 8 months ago by eadev19entsp.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 15, 2014 at 4:19 pm #114453
    newedgemarketing
    Member

    Hi all,

    I'm using eleven40 pro theme which has a post width size of 810px. For most of my posts I use a half width (405px) right aligned image.

    I've just noticed that whilst the post and images look great portrait on a mobile (currently iphone) as they fill the whole width of the screen.

    They don't look great when i turn my phone landscape as they only fill about 3 quarters of the screen and i end up with maybe one word next to the image which looks kid of messy.

    I know i can get around this by using full width images but i don't always want to do that because depending upon the image it can be shrunk so much on mobile that you cant read any text in that image.

    Is there anyway I can optimise my images so that i can use a half width image in my blog post and then have it fit full width of a mobile whatever orientation it is?

    http://newedgemarketing.com.au/steps-to-creating-competitive-advantage/?preview=true&preview_id=924&preview_nonce=b00031f404
    July 21, 2014 at 10:13 pm #115311
    Lauren Gaige
    Member

    Hi there,

    You could do a couple things here:

    1. You could make your images just a bit bigger so it fills the widget of the landscape view on an iphone.

    2. Or.. since most of your images are assigned the class alignright, you can force the alignright class to be like the aligncenter class under the media queries for that screen size.

    So you could add:

    .alignright {
    float: none;
    margin: 0 auto;
    }

    under the @media only screen and (max-width: 767px) section.

    Hope this helps!


    Lauren
    http://www.restored316designs.com

    July 22, 2014 at 12:05 am #115331
    eadev19entsp
    Member

    the auto usually works

  • 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

© 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