Background image into the entire webpage

  • Hello!

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

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

    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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!