[.🇨🇺] Post Color Highlighting

[.🇨🇺] Post Color Highlighting 2022-11-16

Нет прав на скачивание
Краткое описание
Create a template xfposthighligh and copy Invision Community feature code. Edit Xenforo's postmacros to add adminhighlight styling in extra.less for custom forum highlights. Customize with [data-container-key="node-X"] for specific forums.
One day I was checking the Invision Community website and I came across this feature, so I set out to replicate it for Xenforo.


Step number 1:

We create a template called xf_post_highligh and copy the following code:
PHP:
One day I was checking the Invision Community website and I came across this feature, so I set out to replicate it for Xenforo.
Step number 1:
We create a template called xf_post_highligh and copy the following code:
Setp number 2:

go to the template post_macros and edit the following line:
HTML:
<div class="message-cell message-cell--main">

then add to extra.less :
CSS:
.admin_highlight {
border: 2px solid red;
box-shadow: 0 0 10px red;
}

Result:
1668442899763.webp

If you only want to display the highlight in only one forum you can use this code in extra.less
CSS:
[data-container-key="node-X"]
{
.admin_highlight {
border: 2px solid red;
box-shadow: 0 0 10px red;
}
    }
Автор
axtona
Просмотры
532
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Ссылка не работает? Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

Больше Ресурсов от axtona

[Roi] ALTACHA CAPTCHA A
A XenForo add-on that integrates the ALTCHA human verification system
Просмотры
144
Обновлено
Multilangual Nodes and Description A
A simple AddOn I created for myself to have Nodes and Descriptions in multiple languages.
Просмотры
14
Обновлено
[Xon] Font awesome node icons A
Per-forum node icons, and optionally
Просмотры
230
Обновлено
Вверх