XF 1.2 Put a ● before unread subforum

Marcus

Well-known member
I want to put a ● before a unread subforum: (here Coca Cola and Pepsi are subforums with new posts)
Drinkforum
● Coca Cola ● Pepsi

I tried this, but it breaks the line:

PHP:
.hasnew:before{content:"● "}

Best would be a ● left from the text (<LI> element), as when the subforum title is too large and it breaks into the new line, it doesn't look like this:
● Coca
Cola
but like this
● Coca
...Cola
 
I want to put a ● before a unread subforum: (here Coca Cola and Pepsi are subforums with new posts)


I tried this, but it breaks the line:

PHP:
.hasnew:before{content:"● "}

Best would be a ● left from the text (<LI> element), as when the subforum title is too large and it breaks into the new line, it doesn't look like this:

but like this
Probably the reason it is not lining up is you are adding another character to the name. instead of using graphics.
Look at @Shelley resource at http://xenforo.com/community/resources/1-2-subforum-unread-read-icons-indicators.1988/
Create your desired graphics and use yours instead of what she provided.
 
Back
Top Bottom