[.🇨🇺] Post Color Highlighting

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

No permission to download
Short Description
Highlighting Text
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;
}
    }
Author
axtona
Views
456
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Please Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

More resources from axtona

Brazilian Language [PT-BR] A
Like the other available Brazilian Portuguese translation
SEO Audit A
SEO Audit 1.1.0
A comprehensive SEO auditing dashboard for XenForo administrators.
XenForo Media Gallery / XFMG A
XenForo Media Gallery is an official XenForo add-on which allows you to add a gallery to your XF2
Top