• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Put a ● before unread subforum

Marcus

Well-known member
#1
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
 

Tracy Perry

Well-known member
#2
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.