Как изменит иконку в шаблоне window_write.tpl ? РЕШЕНО
Там картинка одна, как сделать чтоб была для фотосета другая?
код такой
Решение
добавить в modals.css
код такой
<li class="write-item-type-draft"> <a href="{router page='topic'}saved/" class="write-item-image"></a> <a href="{router page='topic'}saved/" class="write-item-link">{$iUserCurrentCountTopicDraft} {$iUserCurrentCountTopicDraft|declension:$aLang.draft_declension:'russian'}</a> </li> {/if} <li class="write-item-type-topic"> <a href="{router page='topic'}add" class="write-item-image"></a> <a href="{router page='topic'}add" class="write-item-link">{$aLang.block_create_topic_topic}</a> </li> <strong> <li class="write-item-type-photoset"> <a href="{router page='photoset'}add" class="write-item-image"></a> <a href="{router page='photoset'}add" class="write-item-link">{$aLang.block_create_topic_photoset}</a></strong> <li class="write-item-type-message"> <a href="{router page='talk'}add" class="write-item-image"></a> <a href="{router page='talk'}add" class="write-item-link">{$aLang.block_create_talk}</a> </li>
Решение
добавить в modals.css
.modal.modal-write .write-list li.write-item-type-photoset .write-item-image { background-position: -460px 0; } .modal.modal-write .write-list li.write-item-type-photoset:hover .write-item-image { background-position: -460px -115px; }
4 комментария