Question / Help OBS Alert with Custom CSS resets?

AlexRamiGaming

New Member
I'm streaming on Facebook Gaming. I want to show on my overlay when somebody donates (using stars) and when they share the stream. This is how it looks when I use the following code


body {
background-color: rgba(0, 0, 0, 0);
margin: 0px auto;
overflow: hidden;
}
._4-u2 {
border: 0
}
._4-u8 {
background: none
}
._2l6k {
display: none
}
._2l6m {
color: #FFFFFF;
font-size: 25px;

}
a {
color: #FFFFFF;
font-size: 25px;

font-weight: 800;
font-family: sans-serif;
}
._2l6h {
width: 50px;
height: 50px
}
._2l6i {
padding-top: 8px
}
.UFICommentBody {
display: none;
visibility: hidden;
}
._2l6i {
visibility: hidden
}
._2l6i > span > a {
visibility: hidden !important
}
._2l6i > span > a:nth-child(1) {
visibility: initial !important
}
._25zr,
._3-8j {
display: none;
}
._4-u2>._4-u3 {
border: 0;
}
.uiScrollableAreaContent > ._2l6d {
display: none;
}
.uiScrollableAreaContent > ._2l6d:nth-child(1) {
display: block !important;
}
._2l6j { visibility: initial !important }


https://gyazo.com/564c9808c1e7f6133b431ff1fc509dac

looks really nice... the problem is when somebody NEW donates/shares the settings get "reset" and then it looks like this

https://gyazo.com/5c903e01c3a60c81b72fcf71ce9ccb19

I can fix this by opening the alert and clicking "ok" again to make it apply the code and it works.. but I can't keep doing it every time somebody new donates/shares the stream. Any help would be amazing.
 
Top