The forum is read-only. New threads, replies and edits are disabled.
Black screen instead of white
megadude2112_616

Hello,

 

I am very new to WADE, and I am just starting the tutorial. According to the setup tutorial, when you open the basic index.html with wade.init('test.js'); still commented out, you should see a blank white screen. However, I see a blank black screen across IE, Chrome, and Firefox. Is this normal, or am I doing something wrong?

 

Thanks!

All 4 Comments
Gio

Hi

 

Yes it's normal, the background color changed a couple of times with different WADE releases for some reason. We should probably update the tutorial(s).

 

It's a value you can change in style.css (line 14) to any color, gradient or image that you like.

megadude2112_616

Thanks! Just wanted to make it wasn't me.

SWSGKloss

Hello,

 

 

tried to change the BG Color from black to white. Maybe I haven't set the syntax right? it keeps black atm.

 

html, body

{

    width:  100%;

    height: 100%;

    margin: auto;

    padding: 0;

    position: absolute;

    left: 0;

    top: 0;

    right: 0;

    bottom: 0;

    overflow: hidden;

    z-index: -1000;

    background: #FFFFFF;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    -ms-touch-action: none;

    -webkit-perspective: 800px;

    -moz-perspective: 800px;

    -o-perspective: 800px;

    perspective: 800px;

}

Also tested it with "background-color" - no change.

SWSGKloss

Okay, just checked that the BG color is not displayed in the WADE-Online-Editor :-)

 

Opened it locally and got the new color.