Get rid of modal background with CSS

Does anybody know how I can get rid of the modal background via CSS? No matter what I do, it looks like it wont remove.

image
is what I mean

Thanks for any help!

Welcome to Meta @darkpixlz :wave:

If you’re talking about the dark overlay behind the modal, you can hide it with something like this

.modal-backdrop.in {
  display: none;
}

If you’re talking about the shadow behind the modal, you can remove it with something like this

.modal-inner-container {
  box-shadow: none;
}
3 Likes

Thank you, this is the one that worked for me :+1:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.