VIP Posted September 10, 2018 Share Posted September 10, 2018 Подскажите как сделать обводку групп в темах что бы у каждой группы был свой цвет?Видел тут vancerp.com не знаю может это плагин. Link to comment Share on other sites More sharing options...
siv1987 Posted September 10, 2018 Share Posted September 10, 2018 Может быть это цвет группы который настраивается в настройках группы? Ну и там же можно отформатировать отображение по своему желанию задавая разные стили.Но там и дополнительно через css шаблона это реализовано, видимо это особенность конкретного шаблона. <li class="ipsGroup" style="color:#fff;background: linear-gradient(45deg, #ff4a32, #ff1010);">Специальный администратор</li> Link to comment Share on other sites More sharing options...
VIP Posted September 10, 2018 Author Share Posted September 10, 2018 Тогда будет отображаться везде эта обводка а мне нужно только в темах Link to comment Share on other sites More sharing options...
VIP Posted September 11, 2018 Author Share Posted September 11, 2018 Может newbie подскажет Link to comment Share on other sites More sharing options...
newbie Posted September 11, 2018 Share Posted September 11, 2018 Тогда будет отображаться везде эта обводка а мне нужно только в темах В настройках группы добавляете префикс <span class='cGroupX'> и суффикс </span>В custom.css добавляете .cPost .cGroupX { color:#fff; background: linear-gradient(45deg, #ff4a32, #ff1010); } X - ID группы 1 Link to comment Share on other sites More sharing options...
VIP Posted September 11, 2018 Author Share Posted September 11, 2018 Не вышло, просто текст отображается.Версия форума 4.3.5 Link to comment Share on other sites More sharing options...
newbie Posted September 11, 2018 Share Posted September 11, 2018 Значит css не добавили. 1 Link to comment Share on other sites More sharing options...
VIP Posted September 11, 2018 Author Share Posted September 11, 2018 Всё добавил и в группе и в ксс Link to comment Share on other sites More sharing options...
VIP Posted September 11, 2018 Author Share Posted September 11, 2018 Кэш почистил Link to comment Share on other sites More sharing options...
VIP Posted September 11, 2018 Author Share Posted September 11, 2018 Блин, дико извиняюсь.В префиксе не добавил ид группы 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