This section contains detailed articles elaborating on some of the common issues phpBB users encounter while using the product. Articles submitted by members of the community are checked for accuracy by the relevant phpBB Team. If you do not find the answer to your question here, we recommend looking through the Support Section as well as using the Site Wide Search.

Change the background color of unread topics

Description: Change background color of unread topics in viewforum - for prosilver and subsilver2.

In Categories:

Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.0/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