[Resolved] using backgrounds with simple css

Home Forums Support [Resolved] using backgrounds with simple css

Home Forums Support using backgrounds with simple css

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #372724
    mmarvel

    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

    #372750
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #373473
    mmarvel

    thanks!

    #373617
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.