WordPress.org

Support

Support » Plugins and Hacks » Advanced AJAX Page Loader » Fade to White between pages – NO!

Fade to White between pages – NO!

Viewing 1 replies (of 1 total)
  • Strange,

    Mine avoids that problem simply through having the div surrounding the Content Element Id with the background color I wanted.

    My Content Element Id is primary, and the background color behind it never changes to white but stays rgb(204, 207, 212)..

    Css

    .content-wrapper {
    position: absolute;
    top: 0;
    left: 18%;
    height: 100%;
    width: 82%;
    background: rgb(204, 207, 212);
    }

    .site-content {
    margin: 2% 10% 0 10%;
    height: 90%;
    }

    Html

    <div class=”content-wrapper”>
    <div id=”primary” class=”site-content” style=”display: block;”>
    More content here
    </div>
    </div>

    If you do have all backgrounds of all divs as black, the only thing I could think is that your Content Element Id is the top-most div? Then while the content is being fetched there is no div behind that one to have a fall back color. To fix that, simply make another div around your Content Element Id that just has background: #000;

Viewing 1 replies (of 1 total)
  • The topic ‘Fade to White between pages – NO!’ is closed to new replies.
Skip to toolbar