WordPress.org

Forums

image stretch width of page (2 posts)

  1. iamluke
    Member
    Posted 1 year ago #

    Hey everyone,

    I have an image on my page that I would like to stretch out to the sides of the page length, I would like if the image could re-size if the window was smaller or larger. Is this possible?

    Here is my page the image is at the top: http://seibuehn.lu/

    This is the image code:

    <img class="alignnone size-full wp-image-19" alt="SEIBUHN" src="http://seibuehn.lu/wp-content/uploads/2014/01/SEIBUHN.png" width="2481" height="520" data-wp-pid="19" />

    thanks for any help, it's appreciated!

  2. Wil
    Member
    Posted 1 year ago #

    Change the width of the img to 100% instead of 2481.

    e.g. width="100%"

Topic Closed

This topic has been closed to new replies.

About this Topic