• Hi,

    I would like to add a photograph as a background image in a row on one of my pages. However, the photogrpah is too large. Does anyone know the dimensions of a WordPress row in pixels so I can resize the picture?

    Thank you
    Leslie Ann

Viewing 2 replies - 1 through 2 (of 2 total)
  • Most modern browsers have developer tools that can help you identify the pixel dimensions of page elements. There’s a plugin for FireFox called Developer Tools that I think has that.

    Try to add this CSS to the needed div using style:
    .class {
    background: url(“your/url/Image.png”) no-repeat center;
    }

    If you are using table you can do this:
    1. Add background to the one td only:
    <td style=”background: url(/images/tr-background.gif) no-repeat 0 0;”>Row 1</td>

    2. If you want it across the row try this code:
    table {
    width: 300px;
    background-image: url(‘mypic.jpg’);
    background-repeat: repeat-y;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Background image on page’ is closed to new replies.