Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36260
    ashrafashraf
    Member

    Hi sir,
    Please I want to add image on the background of my body instead of the current color ?
    How can i make that please?

    Thanks
    A.J.

    #36262
    ashrafashraf
    Member

    I added the following image:
    body {
    background-image: url(“http://www.idaat.se/wp-content/uploads/2014/06/15612711_xl1.jpg”);

    }

    Please, If you see the image on my website is not have the same style when you check it separate.
    How can i fix that ?
    Best Regards
    //A.J.

    #36323
    Sakin
    Keymaster

    @ashrafashraf: It’s the matter of background position. You can try adding in the following css:

    body {
        background-image: url("http://www.idaat.se/wp-content/uploads/2014/06/15612711_xl1.jpg");
        background-position: center top;
        background-repeat: no-repeat;
    }
    #36330
    ashrafashraf
    Member

    Very nice really.

    Thanks sir.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘backgroung image’ is closed to new replies.