How to change unread post/topic titles?
Quote from Apos37 on October 2, 2020, 9:42 pmI have the icons set up with different colors for unread/read posts and topics, but how do I change the titles as well? I’m trying to underline the unread titles only via CSS or another means. I see an unread class on the icon, but not on the title, and the container they are both in does not specify unread vs read.
Do you have a filter or another way of accomplishing this? I would like to make it more obvious to people with disabilities that there are unread posts. Thanks in advance.
I have the icons set up with different colors for unread/read posts and topics, but how do I change the titles as well? I’m trying to underline the unread titles only via CSS or another means. I see an unread class on the icon, but not on the title, and the container they are both in does not specify unread vs read.
Do you have a filter or another way of accomplishing this? I would like to make it more obvious to people with disabilities that there are unread posts. Thanks in advance.
Quote from Apos37 on October 2, 2020, 9:50 pmNevermind, I figured it out using an adjacent selector:
div.forum-status.unread + div.forum-name > a.forum-title { text-decoration: underline !important; }It might be helpful to add a class to the container to make this a little easier in the future.
Nevermind, I figured it out using an adjacent selector:
div.forum-status.unread + div.forum-name > a.forum-title {
text-decoration: underline !important;
}
It might be helpful to add a class to the container to make this a little easier in the future.
