Let’s set Firefox font size and change bookmarks folder icons. Before you do this be sure that:
inside about:config and set the toolkit.legacyUserProfileCustomizations.stylesheets (quick left mouse button double-click) to true, quick tutorial you can find here: Fix Mozilla Firefox ignoring userChrome.css,
inside your file explorer you can see the file extensions like .exe, .txt, .msi, .docx, … like for example file.exe and not just the file name like file. You can see how to do it in the walkthrough video at time 01:59
Before you do anthing be sure that file extensions are showed in your file explorer, check the walkthrough video at time 01:36. Folder and a file needs to be EXACTLY the same as written in steps bellow.
In the Firefox profile folder create a folder named chrome and open it.
Create regular text file and rename it to userChrome.css.
Now open the newly created file userChrome.css with prefered text editor.
At the very beggining make sure you type in or copy and paste exactly like this:
Save the changes you’ve made. Not all programs have same way of saving the file but usually you can do that by left mouse button click on File in the top main menu and left mouse button click on Save, keyboard shortcut to save is CTRL + S (click CTRL and while pressing it click S and then release both buttons).
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* Changing all bookmarks folder icons */
.bookmark-item[container] {
list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAjklEQVR42mNkAIIfx2xbgVQWAwHw//9/hh9cVgxX7ny5aBs6zQEkxgg1YD2QCiBkAAgwCdowXH0u8cHQKV9w1ICBNODaC4kvH24vUHVIO/+CLANuvhJnUGVdu4PD6rAnJQYcABrgOMIN2A00wI3MaBT/+vHOQl371PP3YQYQn505rRgu3/180S50ugNIDACEZogRw/LarAAAAABJRU5ErkJggg==') !important;
}
/* Global UI font size */
* { font-size: 12pt !important; }
After you make the changes ALWAYS save the changes to a file othervise Firefox will not see them. Whatever is between /* and */ is the comment and firefox will ignore that text.
You put your icon in between apostrofies in url like for example icon.png where the actual icon file is in the chrome folder we created earlier, example:
list-style-image: url('icon.png') !important;
You can use base64, svg, png, jpg, jpeg, bmp, … depends on your need.
This code sets one icon for all of the folders but in case you want to change individual folder icon you need to change .bookmark-item[container] to .bookmark-item[container][label="Folder name"] where Folder name is the title of your folder in the browser bookmarks. For the next folder just duplicate .bookmark-item[containe...} and change Folder name with the icon, here is an example: