Louay Ali
Posts: 0
Joined: Mon Nov 03, 2014 3:03 pm

Remove white space at the bottom

Hi,

I have set a background picture for a page but i don't know why whenever i scroll down to the end of the screen i get the white space at the end of the screen, even though there is no footer, i have removed the footer through JS.

Please help. Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Remove white space at the bottom

Louay,

could you please clarify, do you use any css rule for your background image?

Louay Ali
Posts: 0
Joined: Mon Nov 03, 2014 3:03 pm

Remove white space at the bottom

Hi,

Yes i use css within the JS file of the page, here is the code :

Code: Select all

     Apperyio('mobilecontainer').css('background-image','url("-------")','no-repeat'); 

      Apperyio('mobilecontainer').css('background-size','cover'); 
      Apperyio('mobilecontainer').css('-webkit-background-size','cover'); 
      Apperyio('mobilecontainer').css('-moz-background-size','cover'); 
      Apperyio('mobilecontainer').css('-o-background-size','cover');
Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Remove white space at the bottom

Hi Louay,

I tried following CSS code and it works correctly without footer for this page.

#test_mobilecontainer{
/* you should change "a_01.jpeg" with file name you need. */
background: url(../../../../files/views/assets/image/a_01.jpeg) no-repeat;
background-size: cover;
}

Regards.

Return to “Issues”