Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1732

[3.3.x] Styles Support & Discussion • Re: Unread forum titles (colorà

$
0
0
Thanks Sniper_E for your edits. It works but unfortunately not without ajax.js

After a lot of trying I got everything working with the change below in ajax.js

search:

Code:

// Mark subforums read
place above:

Code:

   $('a.forumtitle[class*="unread"]').removeClass('unread');
Yeah! :)


Edit: (extra css)

Code:

a.forumtitle.unread::after { content: "New";display: inline-block;font-size: 0.8em;margin-left: 0.5em;vertical-align: text-top;background-color: #d31141;color: white;padding: 1px 4px;float: right;border-radius: 3px;-webkit-animation: unreading 2s infinite;-moz-animation: unreading 2s infinite;animation: unreading 2s infinite;}@-webkit-keyframes unreading {50% {opacity: 0.25;}}@keyframes unreading {50% {opacity: 0.25;}}

Statistics: Posted by bennybernaer — Sun Dec 01, 2024 9:01 am



Viewing all articles
Browse latest Browse all 1732

Trending Articles