Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Make tagged emails show up as bold in the message list

  • 11 uphendule
  • 1 inale nkinga
  • 11 views
  • Igcine ukuphendulwa ngu sfhowes

more options

Hello - At some point in the past, I was able to somehow set tagged messages to show up as bold (and coloured) in the message list - I can't seem to do this anymore. There was a thread about adding a few lines to the userchrome.css file but I've done that and it doesn't work. I'm on the new version, 78.4.0

Any advice will be appreciated. Thanks

Hello - At some point in the past, I was able to somehow set tagged messages to show up as bold (and coloured) in the message list - I can't seem to do this anymore. There was a thread about adding a few lines to the userchrome.css file but I've done that and it doesn't work. I'm on the new version, 78.4.0 Any advice will be appreciated. Thanks

All Replies (11)

more options

Try this css to color the row of tagged messages and make the text bold:

treechildren::-moz-tree-row(T_24label1)
{
  border-bottom: 1px solid #FFFFFF !important;
  background-color:  #ff004f   !important;
}
treechildren::-moz-tree-cell-text(T_24label1)
{
  color: #FFFFFF !important;
  font-weight: bold !important;
}

treechildren::-moz-tree-row(T_24label1, selected)
{
  background-color: #a2006d !important;
}

treechildren::-moz-tree-cell-text(T_24label1, selected)
{
  color: #ffff00  !important;
  font-weight: bold !important;
}

This is just for the Important tag, but similar code can be added for the other default tags, label2, ... label5, and custom tags.

more options

that's great - thanks so much. If I only wanted the text to be bold in the tag colour and not the background behind it and text white, how would that need to be? I tried removing a few of those lines but couldn't get it! Thanks very much

more options

To just make the text bold and all other settings default:

treechildren::-moz-tree-cell-text(T_24label1)
{
  font-weight: bold !important;
}
more options

thanks for that. Sorry if I'm being dim but that did work for label 1 but when I try and add lines for subsequent labels that doesn't take effect.

This is what I did based on your code which obvs isn't right!

treechildren::-moz-tree-cell-text(T_24label1) {

 font-weight: bold !important;

}

treechildren::-moz-tree-cell-text(T_24label2) {

 font-weight: bold !personal;

}

more options

ah ok, sorry I assumed the "important" text had something to do with which label it is - they all should be important. THANK YOU!

more options

So this only seems to work with the first 5 tags - if I add a 6th:

treechildren::-moz-tree-cell-text(T_24label6) {

 font-weight: bold !important;

}

then the bold function doesn't seem to work - any clues on that? thanks for all your help

more options

The label1, label2... names only work for the 5 default tags. If you create a custom tag named, e.g. newtag, the correct code would be:

treechildren::-moz-tree-cell-text(Tnewtag)
{
  font-weight:bold !important;
}
more options

Hi thanks - So that doesn't work for me - I've got a 6th label called "digitaldiscover" so I've added this to the userchrome.css file:

treechildren::-moz-tree-cell-text(Tdigitaldiscover) {

 font-weight:bold !important;

}

and tried it with T_24 and T_ as well but none of those make that 6th tag show up bold after restarting Thunderbird?

David

more options

Here is my code for a custom tag named newtag:

treechildren::-moz-tree-row(Tnewtag)
{
  border-bottom: 1px solid #FFFFFF !important;
  background-color:  #e245de   !important;
}

treechildren::-moz-tree-cell-text(Tnewtag)
{
  color: #FFFFFF !important;
  font-weight:bold !important;
}

treechildren::-moz-tree-row(Tnewtag, selected)
{
  background-color: #ffd8ec !important;
}

treechildren::-moz-tree-cell-text(Tnewtag, selected)
{
  color: #270027  !important;
  font-weight:bold !important;
}

The first picture shows a message that is tagged and selected, the 2nd picture shows the message tagged and not selected. The colors and bold font are exactly as in the css. Maybe you have other font declarations in your css that supersede the tag code.

more options

Thanks for all your help on this. Hmm - so when selected, the mail is highlighted with the colour I'd selected in Thunderbird options, but when unselected it's the correct colour but not bold like the first 5 labels are as you can see in the pix - the "re: CCSkills Discover 2020 Filming" email is the one in question.

my userchrome.css file only contains this:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

treechildren::-moz-tree-cell-text(T_24label1) {

 font-weight: bold !important;

}

treechildren::-moz-tree-cell-text(T_24label2) {

 font-weight: bold !important;

}

treechildren::-moz-tree-cell-text(T_24label3) {

 font-weight: bold !important;

}

treechildren::-moz-tree-cell-text(T_24label4) {

 font-weight: bold !important;

}

treechildren::-moz-tree-cell-text(T_24label5) {

 font-weight: bold !important;

}

treechildren::-moz-tree-cell-text(Tdigitaldiscover) {

 font-weight:bold !important;

}

more options

When a message is selected, and the Message Pane is open, it is usually marked as read, which reverts the style to normal. Close the Message Pane (F8) and see if unread messages with the custom tag are bold when selected.