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...")
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
__FORCETOC__
__FORCETOC__
<div class="col-md-12 ibox-content">
<div class="col-md-12 ibox-content">
=Change font color of unread message=  
=Change font color of unread messages=  
<hr>
<hr>
{{KB|{{WIP}}|{{ZCS 8.8}}||||}}  
{{KB|{{WIP}}|{{ZCS 9.0}}|{{ZCS 8.8}}|||}}  
    
    




====Problem====
====Purpose====
Enter problem description here. This article is to show the basic formatting of KB articles.
The article shows how to change the font color of unread messages. This article will help to change red color of unread messages, and color can be changed accordingly.


====Solution====
====Solution====
Enter all steps with description here
====ClassicUI====


=====Step 1=====
* Switch to Zimbra user and open skin.properties file.
* We now have details of the first step needed
<pre>
* The second step requires the following command:
su - zimbra
zmprov run a command
vi /opt/zimbra/jetty/webapps/zimbra/skins/_base/base3/skin.properties
* You can indent the command code by prefixing it with <code>*:</code> (to match the <code>*</code> of the bullet) and wrapping it in <code><nowiki><pre>..</pre></nowiki></code>
</pre>
*:<pre>zmprov run a command</pre>  
* Add below content at the bottom of the file.
* This now has a <br /> line break, with the same spacing
Text-unread                = color:red; font-weight:bold;
** Another step
* Restart mailboxd service.
zmmailboxdctl restart


=====Step 2===== 
# This is a numbered list
# The second step is here
## This is a nested step
## Over here as well
# The original list then continues


: This is an indent
====ModernUI====
:: This is a double indent
This [https://www.mediawiki.org/wiki/Help:Formatting external link] contains more information about formatting.


{{SubmittedBy|Author name}}
*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|2020-04-13}}
*Copy default folder with virtual hostname(zmhostname).
<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|2020-04-13}}

Revision as of 15:03, 13 January 2023

Change font color of unread messages


   KB 24501        Last updated on 2023-01-13  




0.00
(0 votes)


Purpose

The article shows how to change the font color of unread messages. This article will help to change red color of unread messages, and 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
Verified Against: ZCS 8.8,ZCS 9.0 Date Created: 2020-04-13
Article ID: https://wiki.zimbra.com/index.php?title=Change_font_color_of_unread_message Date Modified: 2023-01-13



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search