Jump to content
Sign in to follow this  
Guest '?-SlawkA-?'

шаблоны 'Вид счётчика сообщений'

Recommended Posts

Guest

2.png.bfe5e5bc1ce311a3346b46db86bddd04.png

Переходим в Админ Центр - Внешний вид - Стили и шаблоны - Изменить HTML и CSS:
Шаблоны > forums > index > forumRow
,
находим:

Код:

<dl>
{{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}}
<dt class="ipsDataItem_stats_number">{number="$count"}</dt>
<dd class="ipsDataItem_stats_type ipsType_light">{lang="posts_no_number" pluralize="$count"}</dd>
</dl>

Заменяем, на:

Код:

<dl>
{{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}}
<dt class="ipsDataItem_stats_number"><i class="fa fa-envelope-o" data-ipstooltip="" _title="{number="$count"} сообщений"></i> {number="$count"}</dt>
</dl>

Далее, переходим в: CSS > core > front > custom > custom.css и добавляем:

Код:

.ipsDataItem_statsLarge .ipsDataItem_stats_number {
    background: rgba(244, 244, 244, 0.63);
    box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0px 0px 0px 1px rgba(255,255,255,0.05), inset 0 1px 3px rgba(115, 115, 115, 0.44);
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0px 0px 0px 1px rgba(255,255,255,0.05), inset 0 1px 3px rgba(194, 194, 194, 0.7);
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0px 0px 0px 1px rgba(255,255,255,0.05), inset 0 1px 3px rgba(0,0,0,0.7);
    font-size: 15px;
    border-radius: 3px;
    max-width: 60px;
    padding: 10px;
    font-weight: 300;
    line-height: 1.3;
}

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Language
  • стиль

2020 © cmsmafia.ru

×
×
  • Create New...

Important Information

Privacy Policy