Background image opacity
-
Hey everyone,
I've got my code for my background image:
body[data-type="page"][data-id="428"] {
background-image: url();
background-size: cover;
background-attachment: fixed;
}but I am struggling with changing the background image opacity. I would still like to keep the menu/site title/text etc that sits on top of the background unaffected by changing the opacity. Any ideas? :)
-
Hi @fm
if you give the body a background image it will be on the lowest level of your website.
There is nothing which can be under it. So there is no need to change the opacity of the body. It will affect the whole website.Why don't you use the default background image which you can use in the Gridder?
Otherwise I recommend you to use a custom HTML. Create a div box and use custom CSS to give that box a background:
background-box { background-image: url(YOUR IMAGE URL); background-size: cover; positiont: fixed; width: 100vw; height: 100vh; }I hope I could help!
Best!
Marius