WordPress.org

Ready to get started?Download WordPress

Forums

Scroll background image (5 posts)

  1. Mist3r
    Member
    Posted 1 year ago #

    Hi,
    I've inserted with a div a background image in a single page.
    I insert the code in the page.php <div style="position:fixed;background-image:url('http://link/images/a.gif');background-repeat:no-repeat;background-position:0 0;width:100%;height:100%;z-index:-1000;"></div>
    I wouldn't have a fixed image; if I scroll the page also the image must to scroll.
    I've tried to modify the code <div style="background-attachment:scroll;background-image:url('http://link/images/a.gif');background-repeat:no-repeat;background-position:0 0;width:100%;height:100%;z-index:-1000;"></div>
    In this case the image disappear.
    What can I do?

  2. IshaanRawat
    Member
    Posted 1 year ago #

    just remove width:100%;height:100%;z-index:-1000; and then try

  3. Mist3r
    Member
    Posted 1 year ago #

    Same problem...

  4. IshaanRawat
    Member
    Posted 1 year ago #

    Can you give me your site url??\

  5. Mist3r
    Member
    Posted 1 year ago #

    Sure...http://www.asanetsrl.com/assistenza

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.