WordPress.org

Ready to get started?Download WordPress

Forums

WordPress site in a DIV with scrollbars (5 posts)

  1. basil_555
    Member
    Posted 5 years ago #

    Hello,

    I have a very large picture for my background which I use for the BODY tag. The background is defined as a fixed attachment. I want to place the whole wordpress site (the contents of the site between the opening and closing BODY tags) inside a div with scrollbars, so that my site would stay withing the contents of my background picture. For that, I tried to use a separate DIV tag with the style of "overflow: scroll". I placed the opening DIV tag just after the BODY tag in the header.php file and the closing DIV tag in the footer.php file just before the </BODY> tag, but for some reason this doesn't work. Could anyone help me solve this problem?

    Thank you!

  2. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    you would need to give more information than that like the URL, e.g.

  3. basil_555
    Member
    Posted 5 years ago #

    I'm sorry, I can't because my site is not published yet. But here is a good example: http://playwith.wpthemes.info/index.php?wptheme=MistyLook
    Imagine, that the content area of this site is included in a DIV with scrollbars. This is basically what I'm trying to do.

  4. basil_555
    Member
    Posted 5 years ago #

  5. armando1980
    Member
    Posted 5 years ago #

    i think i still have the same question.

    Basil did you found a solution to this topic yet?

    thanx!

    armando

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.