Knowledge Base

Change the background color of unread topics
Article ID: 105
Written By: FabryDesign
Written On: Wed Sep 12, 2007 1:01 am
Description: Change background color of unread topics in viewforum - for prosilver and subsilver2.
link to this article on phpbb.com: Select All
[kb=change-the-background-color-of-unread-topics]Change the background color of unread topics[/kb]
link to this article on your own board: Select All
[url=http://www.phpbb.com/kb/article/change-the-background-color-of-unread-topics/]Knowledge Base - Change the background color of unread topics[/url]

Open: styles/prosilver/theme/colours.css
FIND:
Code: Select all
.bg3   { background-color: #cadceb; }

AFTER, ADD:
Code: Select all
.bg4   { background-color: #bbd3e5; }


Open: styles/prosilver/template/viewforum_body.html
FIND:
Code: Select all
<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"

REPLACE, WITH:
Code: Select all
        <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_UNREAD_TOPIC --><!-- IF topicrow.S_ROW_COUNT is even --> bg3<!-- ELSE --> bg4<!-- ENDIF --><!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"


Instructions Navigate to ACP -> Styles -> Themes -> Prosilver, and click Refresh