Menu icon Foundation
Changing Background via CSS

still new to both html and css. Ive finally managed to edit my whole page in html but the problem is that I want to change my background, which is currently on white(default) with a picture in which it would still stay even though you scroll. totally newbie here. the exact code(without target location) would be much appreciated and how I will put it in my html

backgroundimgbackground color

still new to both html and css. Ive finally managed to edit my whole page in html but the problem is that I want to change my background, which is currently on white(default) with a picture in which it would still stay even though you scroll. totally newbie here. the exact code(without target location) would be much appreciated and how I will put it in my html

This post has been closed. No new replies can be added.

Rafi Benkual almost 5 years ago

Niel,
Looks like this has been asked and answered before. These should help you
http://foundation.zurb.com/forum/posts/1425-how-to-get-the-bg-image-100-height-viewport
http://foundation.zurb.com/forum/posts/1784-background-images-not-working
http://foundation.zurb.com/forum/posts/1601-adding-a-body-background-image

If you are viewing codepen solutions, click edit pen in lower left to see code.

Niel Ronalph Abesamis almost 5 years ago

Thank for your help :)