Button Image in Section Header

Hello

I placed a button in the section header but i’m not able to put an image to the label. I did it like the documentation writes but nothing … i just see the text …

section object:

{name:"custom", height:23, map_to:"type", type:"select", options:section_techniker, button: "block"},
scheduler.locale.labels.button_block = "Techniker blockieren";

in dhtmlxscheduler.css (the image exists):

.dhx_custom_button_block{background-image:url(imgs/but_block.gif);}

Thank you

Try to change your css rule as

.dhx_custom_button_block{ background-image:url(imgs/but_block.gif); width:20px; }

No :frowning: Still don’t work …

Check the attached sample
1319539729.ZIP (70.9 KB)

Hmm … i really don’t understand why it don’t works but i solved my problem like this:

.dhx_custom_button {color: #D61B39;background-color:transparent; background:url(codebase/imgs/block.png);width:255px;text-align:left;background-position:right;background-repeat:no-repeat}

this works for me :slight_smile:

Thank you