TB search results font size

User Help for Mozilla Thunderbird
Post Reply
plastictub
Posts: 3
Joined: February 21st, 2020, 7:10 am

TB search results font size

Post by plastictub »

I have searched and searched and searched and cannot for the life of me see anywhere where it's possible to change the font size on the search results tab (the one presented after a global (ctrl-K) search). I have successfully adjusted all other fonts through userchrome but both the email results, the contents of the filter pane and the other links on the search results tab are too small to read. Does anyone know where/if they can be changed?
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: TB search results font size

Post by tanstaafl »

Did you try modifying the font via userContent.css?

http://forums.mozillazine.org/viewtopic.php?p=14857723
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: TB search results font size

Post by morat »

Try this:

Code: Select all

/* Thunderbird userChrome.css */

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

@-moz-document url-prefix("chrome://messenger/content/glodaFacetView.xhtml") {
  html|* { color: orange !important; }
  html|* { font-size: 24px !important; }
}
http://kb.mozillazine.org/UserChrome.css

P.S.

You can view the source of the glodaFacetView.xhtml page using the error console.

i.e. Tools > Developer Tools > Error Console (Ctrl+Shift+J)

Code: Select all

(function () {
  var urls = ["chrome://messenger/content/glodaFacetView.xhtml",
    "chrome://messenger/skin/glodaFacetView.css",
    "chrome://messenger/content/glodaFacetView.css"];
  for (var i = 0; i < urls.length; i++) {
    document.getElementById("tabmail").openTab("contentTab", {
      contentPage: "view-source:" + urls[i],
    });
  }
})();
Last edited by morat on February 21st, 2020, 10:48 am, edited 1 time in total.
plastictub
Posts: 3
Joined: February 21st, 2020, 7:10 am

Re: TB search results font size

Post by plastictub »

tanstaafl wrote:Did you try modifying the font via userContent.css?

http://forums.mozillazine.org/viewtopic.php?p=14857723
Thanks. No, only userChrome.css. The problem is I don't know what the name of the elements/variables on the results page are. In fact, is there a comprehensive resource on element names anywhere? I've read snippets across the web, but never come across anything all in one place, as it were.
plastictub
Posts: 3
Joined: February 21st, 2020, 7:10 am

Re: TB search results font size

Post by plastictub »

morat wrote:Try this: <snip>
Excellent, many thanks!
Post Reply