WordPress.org

Ready to get started?Download WordPress

Forums

Pictures stretching full width of wordpress page (2 posts)

  1. brazenalt
    Member
    Posted 1 year ago #

    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

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic