Make back ground image fixed.
Can someone tell me a way to make the make the main site background fixed. No scrolling with page. I'm using the Lucid theme. Maybe something in the injections?
-
-
·
LeonidS
- ·
Hello John Curtis !
You need to change the value of "Background image attachment" field in the body section of your template mix from "scroll" to "fixed".
-
·
LeonidS
-
- · Ξx¢ΞL 2
- ·
Yeah but the problem is, when the header getting off when u scroll on website, the fixed background is jumping all time a step up and down
-
-
·
LeonidS
-
·
In reply to Ξx¢ΞL 2
- ·
Hello Ξx¢ΞL !
May you plz specify the device, OS and browser where do you see this trouble? From my side on Win7 and latest Chrome it works fine.
-
·
LeonidS
-
I don't have that option in Lucid. This is not a default template. (See snippet)
-
-
·
LeonidS
- ·
In similar case you need to set it via the Styles->Custom styles area. Place there the code like:
.bx-def-image-bg-header {
background-attachment: fixed;
}
-
·
LeonidS
-
Thank you but that didn't work.
-
- · Ξx¢ΞL 2
-
·
In reply to LeonidS
- ·
on desktop it is fine but on mobile and tablet it is jumping , the background is jumping with the header....
Lucid.png