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
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