Change font color of unread message: Difference between revisions
(Created page with "{{BC|Certified}} __FORCETOC__ <div class="col-md-12 ibox-content"> =Change font color of unread message= <hr> {{KB|{{WIP}}|{{ZCS 8.8}}||||}} ====Problem==== Enter probl...") |
Vivek.dhande (talk | contribs) No edit summary |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
__FORCETOC__ | __FORCETOC__ | ||
<div class="col-md-12 ibox-content"> | <div class="col-md-12 ibox-content"> | ||
= | =How to change the font color of unread messages= | ||
<hr> | <hr> | ||
{{KB|{{ | {{KB|{{Unsupported}}|{{ZCS 10.0}}|{{ZCS 9.0}}|{{ZCS 8.8}}|||}} | ||
==== | ====Purpose==== | ||
The article shows how to change the font color of unread messages. | |||
====Solution==== | ====Solution==== | ||
This article will help to set red color for unread messages, and color can be changed accordingly. | |||
=====ClassicUI===== | |||
* Switch to Zimbra user and open skin.properties file. | |||
* | <pre> | ||
su - zimbra | |||
vi /opt/zimbra/jetty/webapps/zimbra/skins/_base/base3/skin.properties | |||
</pre> | |||
* 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. | |||
<pre> | |||
su - zimbra | |||
cd /opt/zimbra/jetty_base/webapps/zimbra/modern/clients | |||
</pre> | |||
{{Article Footer|ZCS 8.8| | *Copy default folder with virtual hostname of the domain and if no virtual host is set then use the domain name. | ||
<pre>cp -avp default <virtual hostname></pre> | |||
*After that it will show like below. We have example.com virtual host | |||
<pre> | |||
[zimbra@example clients]$ pwd | |||
/opt/zimbra/jetty_base/webapps/zimbra/modern/clients | |||
[zimbra@example clients]$ ls | |||
example.com default | |||
</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 | |||
{{SubmittedBy|Aditya Patidar}} | |||
{{Article Footer|ZCS 8.8,ZCS 9.0,ZCS 10.0|2023-01-13}} |
Latest revision as of 14:00, 22 May 2023
How to change the font color of unread messages
Purpose
The article shows how to change the font color of unread messages.
Solution
This article will help to set red color for unread messages, and color can be changed accordingly.
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 of the domain and if no virtual host is set then use the domain name.
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 |