MozillaZine

change font size of history sidebar

User Help for Mozilla Firefox
pleasejust
 
Posts: 32
Joined: August 11th, 2018, 6:09 am

Post Posted December 15th, 2018, 5:06 am

anyone know the css to change font size of history sidebar? Thanks.

dfoulkes

User avatar
 
Posts: 22546
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted December 15th, 2018, 4:56 pm

This old code is a carry over from my old profile but enlarging the History sidebar font seems to still work.

Code: Select all
/* Searchbar history drop down menu */
   #searchbar .autocomplete-history-dropmarker {
   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
   display: -moz-box; }

  .tabbrowser-tab {
  -moz-border-radius: 8px !important;}
As you can see she's (The CAT) always alert and on the prowl for Meoware !!

dickvl

User avatar
 
Posts: 52753
Joined: July 18th, 2005, 3:25 am

Post Posted December 15th, 2018, 8:26 pm

Add code to the userChrome.css file below the default @namespace line.
http://kb.mozillazine.org/userChrome.css

This code work for places treechildren list in the sidebar (bookmarks and history).
If you really want this only for the history then prefix the selector with "#history-panel" (use a space as separator).
You can also try a #history-panel * {font-size: } rule.
The header has ID: #sidebar-header {}
Code: Select all
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.sidebar-placesTreechildren::-moz-tree-cell-text {
 font-size: 12pt !important;
}

pleasejust
 
Posts: 32
Joined: August 11th, 2018, 6:09 am

Post Posted March 23rd, 2019, 9:00 pm

Your code worked dickvl, thanks. Now how do I increase the maxwidth of the bookmarks/history sidebar beyond the default maximum? I tried:

.sidebar-placesTreechildren::-moz-tree-cell-text
{font-size: 10.5pt !important;
max-width: 900px !important;
width: 900px !important;}

didn't work. Thanks.

dickvl

User avatar
 
Posts: 52753
Joined: July 18th, 2005, 3:25 am

Post Posted March 24th, 2019, 11:09 am

That would be this code:
Code: Select all
#sidebar {
 min-width:0px !important;
 max-width:none !important;
}

pleasejust
 
Posts: 32
Joined: August 11th, 2018, 6:09 am

Post Posted April 12th, 2019, 7:19 pm

Thanks! Worked like a charm.

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 5 guests