WordPress.org

Support

Support » How-To and Troubleshooting » Pictures stretching full width of wordpress page

Pictures stretching full width of wordpress page

  • Hi,
    I am having trouble getting a single picture on a page to stretch the full width of my page. I have taken out the sidebar and I have managed to fix the same problem that I had with thumbnails on a page, but still cannot get a single picture to cover the whole width in the same way.
    The site is http://www.bradleymacmath.com the page I am having the problem with is ‘Shows’ as you can see from the ‘Mixed Media’ and Spray paint’ pages the thumbnails do fill the whole width but the single picture on ‘Shows’ wont.

    Any help or advice would be great I am new to this and this site seems to be taking forever to complete!

    Thanks

    Brazen

Viewing 1 replies (of 1 total)
  • this style in style.css (line 323) is restricting the image:

    #wrapper img {
    	max-width:700px;
    	height:auto;
    }

    remove it, but check for unwanted side effects in other parts of hte site, or overwrite it for just the one page with:
    .page-id-53 #wrapper img { max-width: 100%; }

    working with a browser inspection tool such as Firefox’ web developer add-on might help to identify which styles are responsible for formatting which element.

Viewing 1 replies (of 1 total)
  • The topic ‘Pictures stretching full width of wordpress page’ is closed to new replies.
Skip to toolbar