This project has moved. For the latest updates, please go here.

Custom button image is missing

Sep 25, 2014 at 9:02 PM
I have jHtmlArea successfully installed. The edit function works fine. I have customized the selection of buttons in the toolbar and that works fine. I've also added one custom button, and it executes its function correctly, but I can't for the life of me get the little image to display in the button itself, the button is blank. I have added the image to jHtmlArea.png, the code that defines the button has a unique css value, and that style is defined in jHtmlArea.css. I have even tried using the exact same css as another button just to see if I can get any image to display in the button, but so far no luck. Does anyone have any ideas on this?


Mar 19, 2015 at 2:31 PM
I have the same problem and in addition it doesn't seem like anyone is working this site anymore.
Mar 19, 2015 at 3:53 PM
I found a fix.

You modify the jHtmlArea .css file to add the following for your custom buttons:

div.jHtmlArea .ToolBar ul li a.{custom button name}{ background-position: -80px -32px;background: url(refreshIcon.png);}