Is there any way to get just icons displayed in the bookmarks bar until I hover over it, just like in IE11? (Without deleting text in properties.)
I understand that deleting the text for a bookmark will remove the text from the bookmarks bar and display icons only. However, I like to add extra text to remind me of passwords, etc., for sites, so I don't want to delete this. In IE11, there is the option to only have the text appear when hovering over the icon. Is there any way to do this in Firefox? If not, it would be a worthwhile add-on.
Alla svar (4)
Maybe use code in userChrome.css.
Add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #personal-bookmarks .bookmark-item:not([container]) .toolbarbutton-text { display:none !important; } #personal-bookmarks .bookmark-item:hover .toolbarbutton-text { display:block !important; }
It is not that difficult to create userChrome.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.
In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".
You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.
See also:
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
- https://www.userchrome.org/firefox-changes-userchrome-css.html
Thank-you for the response, but I could not work out how to do this. However, I did find an add-on which seems to do the job perfectly:-
https://github.com/kakakikikeke/compact-toolbar
Thanks again,
Steve B.
That extension seems to edit each of the bookmarks and saves its title to local storage and then clears the title. If anything goes wrong here then you lose all the titles of involved bookmarks, so make sure you have a backup.
The CSS code I posted above for userChrome.css merely hides the title and displays the title when you hover a bookmark on the Bookmarks Toolbar, so it only works for bookmarks on this toolbar and not for other cases.
Did you look at this page for an easier way to create the userChrome.css file?
How far did you get to create the file in the correct location and toggle the pref on the about:config page?
Thank-you for the update and information on how the extension works. I agree that it doesn't look like a very good idea, so I created userChrome.css and added the code lines you suggested. The hover function now shows the full name and web address information, but the toolbar still shows the full name all the time, so it has not solved the initial problem of displaying icons only. Do you have any further suggestions?
Regards,