WordPress.org

Support

Support » Themes and Templates » WordPress site in a DIV with scrollbars

WordPress site in a DIV with scrollbars

  • basil_555
    Member

    @basil_555

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress site in a DIV with scrollbars’ is closed to new replies.