Font size in sidebar

User Help for Mozilla Firefox
Post Reply
carolgot1
Posts: 13
Joined: November 3rd, 2017, 1:35 pm

Font size in sidebar

Post by carolgot1 »

How to change font size in sidebar FF Quantum?
User avatar
Reflective
Posts: 2283
Joined: February 15th, 2007, 11:13 am

Re: Font size in sidebar

Post by Reflective »

User avatar
LIMPET235
Moderator
Posts: 39961
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Font size in sidebar

Post by LIMPET235 »

Hi,
I think that you'll find that the extension posted ^, does NOT actually function, as yet in v57.
Lots of complaints/-ve comments in the Reviews.

Just sayin'.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
carolgot1
Posts: 13
Joined: November 3rd, 2017, 1:35 pm

Re: Font size in sidebar

Post by carolgot1 »

I know Theme & Font Size Changer is for prior 57 releases. I am looking for a css solution.
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: Font size in sidebar

Post by Gingerbread Man »

First off, at the top of your userChrome.css file, add another @namespace line, like so.
(Either this or omit both @namespace lines, then delete the 5 instances of html| from the following style)

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@namespace html url(http://www.w3.org/1999/xhtml);
Then the actual style below that:

Code: Select all

#sidebar-title {
  font-size: 16px !important;
}

@-moz-document url("chrome://browser/content/bookmarks/bookmarksPanel.xul"),
url("chrome://browser/content/history/history-panel.xul") {

  treechildren,
  #sidebar-search-container,
  #viewButton .button-text,
  #search-box {
    font-size: 16px !important;
  }
  
}

@-moz-document url("chrome://browser/content/syncedtabs/sidebar.xhtml") {
  html|body,
  html|div,
  html|p,
  html|button {
    font-size: 16px !important;
  }
}
Post Reply