MozillaZine

How change bookmark toolbar font size?

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

Post Posted August 20th, 2018, 2:10 pm

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: 2905
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 20th, 2018, 4:16 pm

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/Tools/Browser_Toolbox

laura.g.berger
 
Posts: 10
Joined: November 27th, 2013, 5:53 pm

Post Posted August 20th, 2018, 9:05 pm

Did not work for me.

morat
 
Posts: 2905
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 21st, 2018, 6:05 am

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?

WaltS48

User avatar
 
Posts: 3767
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Post Posted August 21st, 2018, 6:26 am

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: 10
Joined: November 27th, 2013, 5:53 pm

Post Posted August 21st, 2018, 7:56 pm

Code: Select all
.bookmark-item {
  font-size: 11px !important;
}

This one did exactly what I want.

Thank you very much!

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot], Odin2 and 13 guests