mouse0270 / bootstrap-notify

Turns standard Bootstrap alerts into "Growl-like" notifications.
http://bootstrap-notify.remabledesigns.com/
MIT License
2.25k stars 642 forks source link

Alert type stuck on info #104

Closed brezuicabogdan closed 9 years ago

brezuicabogdan commented 9 years ago

Hi,

I seem to be missing something but afterreading all the issues on github and documentation I still havent found an answer.

My code is:

$.notify({
    icon: "fa fa-thumbs-o-down",
    title: "<strong>" +"Atentie! " + "</strong> ",
    message: "Campania nu este inactiva"
},{
    type: 'danger',
    placement: {
        from: "top",
        align: "center"
    },
    offset: 52,
    allow_dismiss: true,
    newest_on_top: true
});

and still the alerts are showing up as info

WHAT AM I MISSING?

Thank you.

mouse0270 commented 9 years ago

This looks correct, would you be able to replicate this using jsfiddle.net or provide me with a demo. Everything looks coorect.

brezuicabogdan commented 9 years ago

Replicating this on jsfiddle is a little bit difficult because I wold have to replicate every css and js component I load and there are a lot of them. I tried to create a static page so that I can provide as an example but surprisingly it works just fine. This leads me to belive there is an incompatibility issue with some other component either js or css I load. I will try disabling them one by one to see wich one generates the issue.

Home I will find a solution and get back to you when I do

Thank you very much,

mouse0270 commented 9 years ago

Your best solution is to use debugger and see what csss styles are being applied to the notification. Thsi should help identify the issue.