[resolved] background-image disappearing after load (3 posts)

  1. connectto
    Posted 2 years ago #


    i added an background-image to my wordpress website

    but when i open the website, my background only appears about 2 seconds - the time to load the page, then disappears and the background turn white

    heres my page http://www.connectto.com.br/websites/

    i added the code above to style.css

    body {
    background: #e2e2e2;
    background: url(images/bg-connectto.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    im doing my updates in a copy of tewntyeleven

    anyone can help please, need to know why this background-image keeps disapearing


  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    probably caused by your javascript background image rotator;

    try and use absolute image url in that code.

    also, the code is inserted at an invalid location;

    possibly move the javascript to just before the </head> tag.

  3. connectto
    Posted 2 years ago #

    really thanx alchymyth

Topic Closed

This topic has been closed to new replies.

About this Topic