Solved

how can I set an image in a Alertify.js notification (Growl)?

Posted on 2014-10-02
3
423 Views
Last Modified: 2014-10-04
Dear Experts,

I'm wondering on how to set an image as background-image in the notification (log) of Alertify.js.

Actually the Growl is like this:
growlactually.png
And I want to set a background-image to look something like this:
desiredgrowl.png
Thanks in Advance.

Best Regards.
0
Comment
Question by:Conrado ZAVALA
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40358241
Try this :
.alertify-logs {
    background-image: url(picture-with-right-size.jpg) no-repeat;
}

Open in new window

0
 
LVL 11

Expert Comment

by:Murfur
ID: 40359056
What leakim971 said, but I think you mean the div with class of .ajs-message
0
 

Author Closing Comment

by:Conrado ZAVALA
ID: 40361283
Thank you very much.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now