Author Topic: Custom donation doesn't seem to work every time  (Read 1798 times)

0 Members and 1 Guest are viewing this topic.

jaykeo

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: JayKeo
Custom donation doesn't seem to work every time
« on: August 12, 2016, 07:53:59 AM »
Hi,

I have a the below CSS code for a donation alert.  This donation alert only seems to work sometimes (normally after a reset it in OBS).  If possible could you please tell me what  I have done wrong?

http://deepbot.tv/notifications/donationnotification2.htm


#donor-notification {
width: 1920px !important;
height: 120px !important;
background-color: transparent !important;
background-image:url('http://i.imgur.com/SORFGy8.png') !important;
background-size: initial !important;
}


#donor-notification .header {
position: absolute !important;
visibility: hidden !important;
}

#donor-notification .streamname {
visibility: hidden !important;
}

#donor-notification .message {
visibility: hidden !important;
}
#donor-notification .amount {
font-size: 32px !important;
font-family: Impact !important;
font-weight: normal !important;
text-shadow: 3px 4px 1px #000 !important;
color: white !important;
}
#donor-notification .donor {
font-size: 32px !important;
font-family: impact !important;
font-weight: normal !important;
text-shadow: 3px 4px 1px #000 !important;
color: white !important;
}
#donor-notification .donor:after {
content: ' - ';
}
#donor-notification .title {
padding-top: 44px !important;
margin-left: 55px !important;
width: 100% !important;
float: left !important;
text-align: center !important;
}

Thanks,
Jay

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom donation doesn't seem to work every time
« Reply #1 on: August 12, 2016, 09:06:12 AM »
Try this code. Also may have to do IPN/Paypal UTF-8 Coding. Guide can be found here: http://deepbot.deep.sg/forums/index.php?topic=3143.0

Code: [Select]
#donor-notification {
position: absolute;
top: 0px !important;
left: 0px !important;
width: 1920px !important;
height: 116px !important;
background-repeat: no-repeat;
background-size: contain !important;
background-image: url('http://i.imgur.com/SORFGy8.png') !important;
overflow: ahidden !important;
}
#donor-notification .header {
visibility: hidden !important;
}
 
#donor-notification .date {
visibility: hidden !important;
}
 
#donor-notification .streamname {
visibility: hidden !important;
}
 
#donor-notification .message {
visibility: hidden !important;
}
#donor-notification .amount {
position: absolute;
margin-top: 15px !important;
margin-left: -130px !important;
width: 400px !important;
padding-top: 0px !important;
text-align: center !important;
font-weight: normal !important;
font-size: 32px !important;
font-family: Impact !important;
color: white !important;
text-transform: capitalize;
-webkit-text-stroke-color: white;
-webkit-text-stroke-width: 0px;
text-shadow: 3px 4px 1px #000 !important;
}
#donor-notification .donor {
position: absolute;
margin-top: 15px !important;
margin-left: -200px !important;
width: 600px !important;
text-align: center !important;
font-weight: normal !important;
font-size: 32px !important;
font-family: Impact !important;
color: white !important;
text-transform: capitalize;
-webkit-text-stroke-color: black;
-webkit-text-stroke-width: 0px;
text-shadow: 3px 4px 1px #000 !important;
}

.donor:before {
content: '';
}
 
.donor:after {
content: ' - ';
}

.amount:after{
content: '';
}
#donor-notification .messagebox {
    width: 100%;
    text-align: center;
}
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

jaykeo

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: JayKeo
Re: Custom donation doesn't seem to work every time
« Reply #2 on: August 12, 2016, 12:05:08 PM »
Thanks