MyBB Community Forums
scrolling down with the nav bar and background - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: scrolling down with the nav bar and background (/thread-163578.html)



scrolling down with the nav bar and background - Cleopatra - 2014-11-30

hi i have this forum
http://thegame-zone.com/

i just want to know how can i scroll down with the container only
i mean without disappearing of the nav bar and background
i mean that even if someone scroll to the bottom of the forum the nave bar remain on its blace and the background image too
i really hope you understand what i mean

i have add this
background-attachment: fixed;

it seems to work but some how the black background covers it


RE: scrolling down with the nav bar and background - mmadhankumar - 2014-12-01

try adding the fixed attribute to the body background... like this....


body {
background: #000000 url(images/revolution/bfbg.jpg) no-repeat fixed;
}



RE: scrolling down with the nav bar and background - Cleopatra - 2014-12-01

thank you very much it worked