Jump to content

Message, выделить раздел форума


Escape

Recommended Posts

24 минут назад, Redneck сказал:

Где-то было на форуме, поиск в помощь

Тоже помню, что видел. Но, как видишь не нашел

Link to comment
Share on other sites

3 часа назад, Escape сказал:

2. Как выделить другим цветом целый раздел форума?

custom.css

li[data-categoryid="ID категории"] .ipsAreaBackground_reset, li[data-categoryid="ID категории"] li.ipsDataItem {background:#e5eaeb;}
/* Убираем эффект зебры */
.ipsDataList.ipsDataList_zebra .ipsDataItem:nth-child(2n):not(.ipsDataItem_selected):not(.ipsModerated):not(.ipsDataItem_new):not(.ipsDataItem_success):not(.ipsDataItem_warning):not(.ipsDataItem_error):not(.ipsDataItem_info):not(.ipsDataItem_status) {
    background: none !important;
}

А первое не могу найти ¬¬

Link to comment
Share on other sites

3 часа назад, Escape сказал:

2. Как выделить другим цветом целый раздел форума?

li[data-categoryid="3"] > ol > li {
    background-color: #34495e !important;
}

2016-07-10_18-05-19.png

Link to comment
Share on other sites

Шаблон forums > index > index:

Код после заголовка h2:

{{if $category->_id == "ID_категории"}}
                <span class='ipsMessage ipsMessage_warning' style='background: #CEE1EA; color: #615E5A; display: block; margin-top: 10px; margin: 10px 0px; border-bottom: 1px solid #C4D7E0;'>ТЕКСТ</span>
                {{endif}}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...