- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
ssc.mvestor.com
this is website
Chrome – Background Images in #home and #contact disappear when scrolling up – this works fine in Firefox
It’s the fixed position of the video that’s getting in the way, when you would change the position
to relative
, then it will work:
#services-video-wrap {
position: relative;
but my dear friend i want video in background and home image is fixed u see website in firefox i want this fixed background in chrome
Now withbackground attachment:fixed
the background-image is fixed with respect to the viewport– not the element with which the image is associated. That will work, but for some reason this fixed positioned element is getting in the way. Maybe try putting it in the HTML
markup after the #home section
, or even within this section
giving that one position: relative
and then using z-index: -1
on the video will do the trick in Chrome, but you will have to try this out to see if it is working.
P.s. in Firefox I don’t get to see the video at all, …
not working me friend still same issue