• Hey guys, so here is the problem:

    Whenever I add a large image into my page or post, it doesn’t scale it down to fit into the width of the theme like it used to do.

    Here’s what I’m talking about https://ghostselite.com/testing/

    So the image stretches out and covers up all of the widgets.

    It used to resize perfectly, but then it broke somehow.

    Any ideas how to fix this? Maybe I erased some code or removed an important plugin accidentally?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dewood

    (@dewood)

    Not sure if this helps, but I have the Formatting option “WordPress should correct invalidly nested XHTML automatically” in Settings > Writing in the WP dashboard unchecked. My site was pushing the entire post to the bottom left corner of the page for some strange reason, and that fixed it somehow.

    You probably deleted some css that handles max-width for images.
    Try adding this on your custom css/childtheme style.css.
    img[class*="align"] {max-width: 100%;}

    Thread Starter dewood

    (@dewood)

    you’re amazing, thank you ronangelo <3

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images in posts not scaling anymore suddenly’ is closed to new replies.