How change bookmark toolbar font size?

User Help for Mozilla Firefox
Post Reply
laura.g.berger
Posts: 14
Joined: November 27th, 2013, 5:53 pm

How change bookmark toolbar font size?

Post by laura.g.berger »

Hi!

I'm using Arch Linux and Firefox Quantum 60.0.1 (64-bit). I have a lot of bookmark folders in my bookmark toolbar and I would like to change the font size of it. To do that I tried to create a file:
~/.mozilla/firefox/ctvnt80f.default/chrome/userChrome.css

Then I put the following content in it:

Code: Select all

#PersonalToolbar .toolbarbutton-text {
	font-size: 11px !important; 
}
But nothing has changed. How can I do what I want?
morat
Posts: 6406
Joined: February 3rd, 2009, 6:29 pm

Re: How change bookmark toolbar font size?

Post by morat »

Try this:

Code: Select all

/* Firefox userChrome.css */

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

#PlacesToolbar toolbarbutton.bookmark-item[container] {
  color: red !important;
  font-size: 11px !important; 
}
http://kb.mozillazine.org/UserChrome.css

You can use the browser toolbox to find the css selector.

http://developer.mozilla.org/en-US/docs ... er_Toolbox
laura.g.berger
Posts: 14
Joined: November 27th, 2013, 5:53 pm

Re: How change bookmark toolbar font size?

Post by laura.g.berger »

Did not work for me.
morat
Posts: 6406
Joined: February 3rd, 2009, 6:29 pm

Re: How change bookmark toolbar font size?

Post by morat »

This tweak styles bookmark folders in the bookmarks toolbar.

Code: Select all

#PersonalToolbar toolbarbutton[container] .toolbarbutton-text {
  color: red !important;
  font-size: 11px !important; 
}
This tweak styles bookmarks and bookmark folders in the bookmarks toolbar.

Code: Select all

#PersonalToolbar .toolbarbutton-text {
  color: red !important;
  font-size: 11px !important;
}
This tweak styles bookmarks and bookmark folders everywhere in the browser window.

Code: Select all

.bookmark-item {
  color: red !important;
  font-size: 11px !important; 
}
Do any of these tweaks work at all?
User avatar
WaltS48
Posts: 5141
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Re: How change bookmark toolbar font size?

Post by WaltS48 »

In Ubuntu I can adjust font sizes for all applications using the Tweaks application.

I just open it, select Fonts, click the font already selected for Interface, change the font used or just adjust the size. I'm using Ubuntu Regular, 12.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
laura.g.berger
Posts: 14
Joined: November 27th, 2013, 5:53 pm

Re: How change bookmark toolbar font size?

Post by laura.g.berger »

Code: Select all

.bookmark-item {
  font-size: 11px !important;
}
This one did exactly what I want.

Thank you very much!
Post Reply