• 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

Post images not spanning full 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 › Post images not spanning full width

This topic is: not resolved

Tagged: css, media queries, responsive images

  • This topic has 6 replies, 2 voices, and was last updated 11 years, 1 month ago by newedgemarketing.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 4, 2015 at 4:41 pm #139722
    newedgemarketing
    Member

    Hi All

    I am having problems getting my blog post images to span the full width (not matter how big i place the images in my post)

    I ran inspect element on the image to see what was happening and it seems that theres some css controlling the image to be max-width 97.5% here’s screen shot showing whats happening. http://newedgemarketing.com.au/wp-content/uploads/2015/01/Screen-Shot-2015-01-23-at-7.46.24-am.png

    I changed the css in inspect element which changed the image to what i want it to be - great so you'd think. But i cant find that css in my style sheet.

    Some one else had suggested the css is coming from my optimizpress plugin, but I've not long had optimize press but I've always had this issue.

    Any ideas?

    http://newedgemarketing.com.au/wp-content/uploads/2015/01/Screen-Shot-2015-01-22-at-4.46.30-pm.png
    February 4, 2015 at 5:06 pm #139726
    RitzyThemes
    Member

    Hi,

    Actually you are using "optimize Press" Plugin and this css setting is coming from its stylesheet.
    http://www.newedgemarketing.com.au/wp-content/plugins/optimizePressPlugin/lib/css/wp.css?ver=2.3.3.2

    The easy way to fix this problem, you can add the following CSS code in your theme stylesheet.

    .entry-content img.size-full {
        max-width: 100%;
    }

    Cheers 🙂


    Get free and premium Genesis Child Themes

    February 4, 2015 at 5:25 pm #139730
    newedgemarketing
    Member

    So simple when you know! brilliant thankyou worked perfectly! 😉

    February 4, 2015 at 5:33 pm #139732
    newedgemarketing
    Member

    Hi Ritzy

    I've got the same issue with my post excert sizes as well which should be 388px wide but they are being controlled by wp.css as well so they are smaller than they should be do you know the css i can use to get these back to 100%?

    February 4, 2015 at 5:51 pm #139738
    RitzyThemes
    Member

    🙂

    you can try this

    .entry .entry-content img {
        max-width: 100%;
    }

    Get free and premium Genesis Child Themes

    February 4, 2015 at 5:52 pm #139739
    RitzyThemes
    Member

    or you can combine above and bellow code into single block

    .entry .entry-content img,
    .entry-content img.size-full {
        max-width: 100%;
    }

    Get free and premium Genesis Child Themes

    February 4, 2015 at 6:40 pm #139742
    newedgemarketing
    Member

    Perfect thanks again!

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