HTML background help

please help, i try to make a background image but there are problems… click here to see them

Hi Straycat, welcome!

On the pricing page, you’ve accidentally put all the content inside the <header>.

If you close the </header> tag before opening the <section>, then you will be able to see the background. At the moment, it’s being covered up by the very large grey header.

image

Hope it helps!!

It does help! But, how do I make the first image stay only so it doesn’t repeat since there is scrollable info?

Add CSS rule on the body:

background-attachment: fixed;

It’s not working…
Also for some reason the background image won’t show up on safari if using glitch for hosting (I’m on an iPad Pro if that info helps) but when I host on testdadweb.epizy.com it does show up

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.