• 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

Images in blog not scaling

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 › Images in blog not scaling

This topic is: not resolved

Tagged: images, scaling

  • This topic has 11 replies, 2 voices, and was last updated 9 years, 11 months ago by klaauw83.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • August 13, 2015 at 8:27 am #162248
    klaauw83
    Member

    I'm using the Balance theme but the large images in my blog posts are not scaling when I visit them on a mobile device. See (url). Is there a solution for this?

    http://slaapwijzer.net/wp-content/uploads/2015/08/Voorbeeld1.png
    http://slaapwijzer.net/wp-content/uploads/2015/08/Voorbeeld2.png

    My websites are slaapwijzer.net and slankr.nl

    Thanks a lot in advance!

    William

    August 13, 2015 at 12:20 pm #162270
    emasai
    Participant

    Instead of posting screenshots, post a link to the actual page that is not resizing. I looked at your blog pages on Chrome for devices and they look fine, but I could not find the pages you are referring to.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    August 13, 2015 at 1:37 pm #162284
    klaauw83
    Member

    Hi!

    Thanks for your reply! These are the actual pages of the screenshots. The header is responsive but the other images not (tested on chrome and safari).

    Ik kan niet slapen: 6 stappen om zo snel mogelijk in slaap te vallen


    http://slankr.nl/review-vitadis-dieet-wonderprogramma-gebakken-lucht/

    August 13, 2015 at 2:07 pm #162289
    emasai
    Participant

    You have added inline styling to the page with set widths so the images are not scaling down. The second link has this in the html for the image that is not scaling

    <div id="attachment_134" <strong>style="width: 611px"</strong> class="wp-caption aligncenter"><img class="wp-image-134 size-full" src="http://slankr.nl/wp-content/uploads/2014/05/Vitadis-dieet1.jpg" alt="Vitadis dieet" width="601" height="325"><p class="wp-caption-text">Een compleet overlevingspakket ;)</p></div>


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    August 13, 2015 at 3:34 pm #162307
    klaauw83
    Member

    Hi Emasai,

    Thanks for your help! I may be a very stupid man, but is it possible to tell me what I have to change in the code above (and other image codes) to make the images responsive?

    Thanks!

    William

    August 14, 2015 at 7:57 am #162361
    klaauw83
    Member

    Anyone a explanation for dummies how I can make the images in my blog posts responsive?

    Thanks in advance!

    August 14, 2015 at 8:53 am #162369
    emasai
    Participant

    If you go into your post and delete the extra code that is in there, the image will scale. This is the part you need to delete for the first image that is too wide in http://slankr.nl/review-vitadis-dieet-wonderprogramma-gebakken-lucht/

    <strong>style="width: 611px"</strong>

    Wherever you have images that do not scale remove the style="width: ???px" part, this is making the images stay at that size and not scale down.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    August 14, 2015 at 9:17 am #162371
    klaauw83
    Member

    Thanks a lot! The image codes I see in my posts are slightly different:

    [caption id="attachment_134" align="alignnone" width="601"]Vitadis dieet Een compleet overlevingspakket :)[/caption]

    When I delete: width="601"

    [caption id="attachment_134" align="alignnone" width="601"]Vitadis dieet Een compleet overlevingspakket :)[/caption]

    The images becomes responsive, but the caption is gone on mobile devices (not on my desktop). What am i doing wrong?

    Hope you can help me one more time!

    August 14, 2015 at 10:02 am #162379
    emasai
    Participant

    How are you adding the photos and the caption?


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    August 14, 2015 at 10:57 am #162389
    klaauw83
    Member

    I add the images and the captions with the 'add media' button in the editor.

    August 14, 2015 at 3:12 pm #162418
    emasai
    Participant

    I'm sorry I don't know what is causing your problem. I suggest you submit a support ticket to Studiopress and cite this post.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    August 16, 2015 at 10:27 am #162531
    klaauw83
    Member

    Thanks anyway! I received this reply. Maybe helpful for other people:

    There is a <div> that's put around a picture that includes the caption. This <div> has an set width inline that cannot be written over with a custom style. The best way to do this is to remove the caption from the actual image and put it under the image inside your post.

    In your Text tab (not the Visual tab), you can insert the image and then put your caption text inside the following <p> tags so it would look like this:

    Koolhydraten zijn een snelle energiebron

    <p class="wp-caption-text">Teveel koolhydraten zorgen ervoor dat het lichaam geen reden heeft om vet te verbranden</p>

    That will allow the image to resize and also for the caption text to resize as well.

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