Change font color of unread message: Difference between revisions
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
</pre> | </pre> | ||
*Open index.css file. | |||
<pre>vi /opt/zimbra/jetty_base/webapps/zimbra/modern/clients/example.com/index.css</pre> | |||
*Add below content into the file. | |||
<pre> | |||
.zimbra-client_mail-list-item_message.zimbra-client_mail-list-item_unread h3.zimbra-client_mail-list-item_subject { | |||
color: red; | |||
} | |||
.zimbra-client_mail-list-item_message.zimbra-client_mail-list-item_unread div.zimbra-client_mail-list-item_wideListItemSenderCol { | |||
color: red; | |||
} | |||
.zimbra-client_mail-list-item_message.zimbra-client_mail-list-item_unread h4.zimbra-client_mail-list-item_subject { | |||
color: red; | |||
} | |||
</pre> | |||
* | * Restart mailboxd service. | ||
zmmailboxdctl restart | |||
Revision as of 13:09, 13 January 2023
Change font color of unread message
Purpose
The article shows how to change the font color of unread message. article will help to change red color of unread messages, color can be changed accordingly.
Solution
ClassicUI
- Switch to Zimbra user and open skin.properties file.
su - zimbra vi /opt/zimbra/jetty/webapps/zimbra/skins/_base/base3/skin.properties
- Add below content at the bottom of the file.
Text-unread = color:red; font-weight:bold;
- Restart mailboxd service.
zmmailboxdctl restart
ModernUI
- Switch to Zimbra user and go to the path.
su - zimbra cd /opt/zimbra/jetty_base/webapps/zimbra/modern/clients
- Copy default folder with virtual hostname(zmhostname).
cp -avp default <virtual hostname>
- After that it will show like below. We have example.com virtual host
[zimbra@example clients]$ pwd /opt/zimbra/jetty_base/webapps/zimbra/modern/clients [zimbra@example clients]$ ls example.com default
- Open index.css file.
vi /opt/zimbra/jetty_base/webapps/zimbra/modern/clients/example.com/index.css
- Add below content into the file.
.zimbra-client_mail-list-item_message.zimbra-client_mail-list-item_unread h3.zimbra-client_mail-list-item_subject { color: red; } .zimbra-client_mail-list-item_message.zimbra-client_mail-list-item_unread div.zimbra-client_mail-list-item_wideListItemSenderCol { color: red; } .zimbra-client_mail-list-item_message.zimbra-client_mail-list-item_unread h4.zimbra-client_mail-list-item_subject { color: red; }
- Restart mailboxd service.
zmmailboxdctl restart
Submitted by: Aditya Patidar |