alan Posted August 21, 2013 Share Posted August 21, 2013 Всем доброго времени! как сделать нового участника зарегистрировавшегося под цвет группы пользователя?вот как на скрине (что бы новый участник в низу в графе новый участник тоже окрашивался по цвет группи Link to comment Share on other sites More sharing options...
KODEAK Posted August 21, 2013 Share Posted August 21, 2013 вы ошиблись разделом Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 заказываю хук Link to comment Share on other sites More sharing options...
siv1987 Posted August 22, 2013 Share Posted August 22, 2013 вот как на скринеВопрос не по теме, но все же - где скрин?.. что бы новый участник в низу в графе новый участник тоже окрашивался по цвет группиБггг, в чем проблема открыть boardIndexTemplate и добавить нужные свойства элементу? Это третий li от Если поизвращаться, можно и селектором css3 выполнить запрос этого элемента #board_stats li:nth-child(3) span{ } Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 так что именно мне писать в boardIndexTemplate (сообщение выше не понял) Link to comment Share on other sites More sharing options...
siv1987 Posted August 22, 2013 Share Posted August 22, 2013 Это можно сделать и через ксс, если не понятно что писать в шаблоне. Селектор я уже написал. Осталось добавить его в ipb_style.css и вписать туда нужные стили. Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 напиши пожалуйста куда именно заходить и что писать, а то я в этом не бум бум Link to comment Share on other sites More sharing options...
siv1987 Posted August 22, 2013 Share Posted August 22, 2013 Внешний вид -> ваш шаблон -> вкладка CSS -> ipb_style.cssв самом конце добавляем селектор (код который написан выше), а между фигурными скобками {} свойства "цвет группы пользователя". Например #board_stats li:nth-child(3) span{ font-weight:bold; color: #f00; text-shadow: 0px 2px 5px rgba(255,255,255,0.4); } смотря какие стили у вашей группы стоят. Если и теперь не "бум-бум", то действительно лучше найти специалиста. Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 в префиксе группы цветов у меня вот так <span style="color:#0066ff; text-shadow: 3px 3px 6px #0066ff;"><span style="background: url() repeat scroll 0% 0% transparent; font-weight: bold"> Link to comment Share on other sites More sharing options...
siv1987 Posted August 22, 2013 Share Posted August 22, 2013 Вам хватит этих стилей color:#0066ff; text-shadow: 3px 3px 6px #0066ff; font-weight: bold; Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 сделал так но не изменилось ничего #board_stats li:nth-child(3) span{#board_stats li:nth-child(3) span{ font-weight:bold; color: #0066ff; text-shadow: 0px 2px 5px rgba(255,255,255,0.4);} Link to comment Share on other sites More sharing options...
siv1987 Posted August 22, 2013 Share Posted August 22, 2013 #board_stats li:nth-child(3) span{#board_stats li:nth-child(3) span{WTF? Вы код нормально копировать можете, неужели это так трудно сделать?.. На примере выше смотрим.И как в итоге должно быть #board_stats li:nth-child(3) span{ color:#0066ff; text-shadow: 3px 3px 6px #0066ff; font-weight: bold; } Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 я и скопировал это и не меняется Link to comment Share on other sites More sharing options...
siv1987 Posted August 22, 2013 Share Posted August 22, 2013 Кеш браузера. CTRL + F5 нажмите (пока не поменяется) Link to comment Share on other sites More sharing options...
alan Posted August 22, 2013 Author Share Posted August 22, 2013 а всё получилось но почему то поля чата широкие стали Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now