Background image into the entire webpage

  • Hello!

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

    1. .pageContainer, .pageHeaderContainer, body{
    2. background-image: url(#{$style_image_path}pageBG.jpg);
    3. background-size: cover;
    4. background-repeat: no-repeat;
    5. background-attachment: fixed;
    6. margin:auto;
    7. }

    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!
    Paulo Almeida