Site logo

Archived topic

using backgrounds with simple css

3 replies · Started by mmarvel on August 24, 2017

Viewing posts 1–4 of 4

Hi

I've seen several howto's on the backgrn image with this code

body {
background-image: url( 'image-url' );
}

Is there an easy add to make the image "cover" the page length? I realize it will distort as the page lengths but on the pages I'm using it won't matter.

thanks. martha

Absolutely!

You can do this:

body {
    background-image: url( ‘image-url’ );
    background-size: cover;
}

You can also use our Backgrounds add-on which has this feature :)

thanks!

You're welcome :)

This archived topic is closed to new replies.