Hello Taurus1,
each HTML-Element can only have one background.
The css-rule for the sprite is:
Code:
.sprite_button_search {
background: url("images/sprites/sprite-61-main.png") no-repeat scroll -34px -18px transparent;
display: inline-block;
height: 22px;
width: 22px;
}
Your style adds an additional background for the magnification glass:
Code:
.globalsearch .searchbutton {
background: url("images/Seamus/gradients/back3.png") repeat-x scroll left top transparent;
border: 1px solid #1B518F !important;
border-radius: 7px 7px 7px 7px;
box-shadow: 0 0 2px #1A1A1A;
margin-left: -5px;
margin-top: -2px;
}
So the Browser will use as background-image either "images/sprites/sprite-61-main.png" or "images/Seamus/gradients/back3.png".
You need to remove
Code:
background: url("images/Seamus/gradients/back3.png") repeat-x scroll left top transparent;
so it can display the magnification glass using sprites.
Since you will loss your background for the magnification glass if you do this, you can merge your background with the magnification glass, to get it back. And dont forget to refresh the sprite after this.
###
For the Ticket-like addon.
You need to make an additional template edit for this, based on the one for the threadbit:
Code:
Template: threadbit
1c1
< <li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
---
> <li class="sprite_statusicon_thread_30 threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
Please note, that the difference is only the addition of
sprite_statusicon_thread_30.
With 0.8.0 this wont be necessary anymore, since the sprite will than use for these icons
threadbit and dont need
sprite_statusicon_thread_30 anymore. But until than, this needs to be done to get it working
Best regards
Sebastian