|
Add new phrase to unread topics
Description:
Adding "NEW" icon on unread topics as I mentioned in the topic How to install: If you add the following CSS code to the css_additional.css template of the style you are using, it will look like the screenshot. HTML Code:
tr.topic-item.unread.js-topic-item .js-topic-title:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}
for vb4.2.x Spoiler (click to open)
Quote by carmine3838
for vb4.2.x
HTML Code:
/* For threadbit */
li.threadbit.new h3.threadtitle:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}
/* For Search Results */
li.threadbit.new h3.searchtitle:after {
content: "{vb:rawphrase new}";
display: inline-block;
background: #dc3030;
padding: 1px 4px;
font-size: 11px;
color: #FFF;
border-radius: 3px;
margin-left: 5px;
position: relative;
top: -2px;
}
Close
Download No files for download. Screenshots |
|||||||||