Background image into the entire webpage

  • Hello!

    To fill the whole background of our forum, i used this short piece of CSS code:

    Code
    .pageContainer, .pageHeaderContainer, body{
    background-image: url(#{$style_image_path}pageBG.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin:auto;
    }

    It looks to be working perfectly. However, i realized that in some mobile devices it isn't displaying correctly. Any tips to solve this problem? It's actually my 1st contact with CSS, so i believe my code could not be the most appropriate.


    Thank you!
    Kindly,
    Paulo Almeida