• Resolved sonny1664

    (@sonny1664)


    All Images (from media library and from image hosting) go to full width in pages and articles. How can i stop that?
    I want them to be the original size or that size when i edit in wordpress editor.

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Without an example to look at it would be impossible to even guess what is going on. Perhaps you could include pertinent information such as the page this was occurring, the WordPress version you have installed maybe even the Theme you are using. This would allow people the opportunity to look at your work and see where improvements could be made.

    Thread Starter sonny1664

    (@sonny1664)

    Thank you so much for your interst mr. Cristello.

    Here an example in this page:
    http://thesonnywarroom.altervista.org/path-to-the-draft/scouting-report-1617/scouting-2017-qb/

    This is causing it:

    img {
    	width: 100%;
    	height: auto;
    }

    It’s making the images use the maximum width. At the bottom of the theme’s style.css, try putting the following to override it:

    img {
    	width: auto;
    }

    Or, just remove the width: 100%; part from where it is originally in the theme’s style.css file.

    Thread Starter sonny1664

    (@sonny1664)

    Thank you very much Mr. MarkRH!!

    Problme solved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All images go to full width in pages.’ is closed to new replies.