change font size of history sidebar
-
- Posts: 40
- Joined: August 11th, 2018, 6:09 am
change font size of history sidebar
anyone know the css to change font size of history sidebar? Thanks.
- dfoulkes
- Posts: 22525
- Joined: June 28th, 2008, 10:31 pm
- Location: Mesquite, Nevada
Re: change font size of history sidebar
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
- Posts: 54163
- Joined: July 18th, 2005, 3:25 am
Re: change font size of history sidebar
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 {}
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;
}
-
- Posts: 40
- Joined: August 11th, 2018, 6:09 am
Re: change font size of history sidebar
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.
.sidebar-placesTreechildren::-moz-tree-cell-text
{font-size: 10.5pt !important;
max-width: 900px !important;
width: 900px !important;}
didn't work. Thanks.
- dickvl
- Posts: 54163
- Joined: July 18th, 2005, 3:25 am
Re: change font size of history sidebar
That would be this code:
Code: Select all
#sidebar {
min-width:0px !important;
max-width:none !important;
}
-
- Posts: 40
- Joined: August 11th, 2018, 6:09 am
Re: change font size of history sidebar
Thanks! Worked like a charm.