Fixed background image
-
Hi,
I’ve set a row image background and assigned a class name to lock the background position when the page is scrolled down.
With this declaration nothing happens, the background image still scrolls with the page:
background-attachment: fixed;In this way the row element is override by others elements:
position: fixed;Thanks in advance for your help.
-
Dear @dmncn
Can you post a link to your website?
We will then have a look and inspect that!
Many wishes!
Marius -
Dear @mariusjopen
I’ve sent you the link with an email.Thanks
-
hey everybody
background-attachment: fixed;
only works for images that are set via
"background-image:" via CSShowever, the row background images are normal <img> tags so this won't work
maybe think about using the cover feature
i don't have time to think of custom css for this case sorry!good luck!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login