4

Using Firefox v8.0.1 on OS X Lion v10.7.2

Is there a way to adjust the size of the font of the items that appear IN A FOLDER of the bookmarks toolbar?

I do NOT want to change the font size of the folders and items on the bookmarks toolbar, only those that appear within a folder.

I am sure there is some css code that I can put in userChrome or userContent but I have cannot figure out what it is. I tried the DOM inspector, but it does not work for the items in the folders of the bookmarks toolbar.

iglvzx
  • 23,818
jsherk
  • 667

2 Answers2

1

Using the DOM inspector to find the proper selectors, the following should work with userChrome.css:

.bookmark-item menupopup .menuitem-iconic {
    property: value !important;
}

Example:

Note: this also affects nested bookmarks.

bookmarks


Update:

To style subfolders:

.bookmark-item menu {
    property: value !important;
}

subfolders

iglvzx
  • 23,818
0

I had one issue with the solution posted above. I couldn't get it to work for me until, after random experimentation, I eventually tried adding an * before the {, and it was effective. So what I ended up with, combining the font changes of both the bookmarks and the sub-folders, was the following code:

/* Bookmark folder fonts' */

.bookmark-item menupopup .menuitem-iconic * { font-size: 10pt !important; } 
.bookmark-item menu * {
    font-size: 10pt !important;
}