ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

how to remove folder icons in Bookmarks Toolbar

  • 8 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 80 ნახვა
  • ბოლოს გამოეხმაურა mathbarian

before firefox's big change, I used an add-on to customize my bookmarks; now that's gone, and with it my multiple rows and other space savers / givers are gone. the hardest thing to get used to is the folders having icons again. It just take up so much more room. Is there an easy way to get rid of them?

before firefox's big change, I used an add-on to customize my bookmarks; now that's gone, and with it my multiple rows and other space savers / givers are gone. the hardest thing to get used to is the folders having icons again. It just take up so much more room. Is there an easy way to get rid of them?

გადაწყვეტა შერჩეულია

I see that I forgot to remove a ':' from the selector (I had a :not() selector in the code I used).

This code should work as tested.

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

/* hide icons for bookmark folders */
#personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon {
 display:none!important;
}
პასუხის ნახვა სრულად 👍 1

ყველა პასუხი (8)

Hi, Not really, Delete all that will Delete with a Right Click. Bookmarks are meant to be that to make folders to put like things into them. My Recipe Folder is bigger than my WIn10 or Firefox Folders. My bookmarks are 18yrs old so ya could not do with out Folders. Give it a chance they may grow on you especially with these options :

Please let us know if this solved your issue or if need further assistance.

Hi mathbarian, add-ons can no longer make style tweaks to the bookmarks toolbar, you now need to apply them through a userChrome.css file.

There are many possible style recipes and tweaks, including multi-row and hiding icons, or labels, or both (just kidding, that would be useless). In order to find an existing rule set or get one custom built, it would be helpful to have a full check list of what you're looking for.

So for example:

  • How many rows of bookmarks?
  • Hide icons for regular folders, but not any other kinds of bookmarks
  • Anything else?

If the discussion stalls out here, I'll give you a couple links for further research:

You can 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 */

/* hide icons for bookmark folders */
#personal-bookmarks .bookmark-item:[container="true"] .toolbarbutton-icon {
 display:none!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.

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 and restart Firefox when you create or modify the userChrome.css file.

jscher2000 said

Hi mathbarian, add-ons can no longer make style tweaks to the bookmarks toolbar, you now need to apply them through a userChrome.css file. There are many possible style recipes and tweaks, including multi-row and hiding icons, or labels, or both (just kidding, that would be useless). In order to find an existing rule set or get one custom built, it would be helpful to have a full check list of what you're looking for. So for example:
  • How many rows of bookmarks?
  • Hide icons for regular folders, but not any other kinds of bookmarks
  • Anything else?
If the discussion stalls out here, I'll give you a couple links for further research:

I liked the 2-3 line bookmarks. Is there a way to make it show up to 3 rows, only going however much it needs to show all? I saw the css for multiple bookmark rows, but I couldn't figure out how to set how many to show.

p.s. I did used to hide both icons and labels; I hid the folder icons, and the non-folder labels ;)

ჩასწორების თარიღი: , ავტორი: mathbarian


ჩასწორების თარიღი: , ავტორი: mathbarian

cor-el said

You can 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 */

/* hide icons for bookmark folders */
#personal-bookmarks .bookmark-item:[container="true"] .toolbarbutton-icon {
 display:none!important;
}

one problem: this code doesn't work. Is there a typo somewhere? I've double checked that I have everything correct, and I've restarted Firefox, so ...

ჩასწორების თარიღი: , ავტორი: mathbarian

შერჩეული გადაწყვეტა

I see that I forgot to remove a ':' from the selector (I had a :not() selector in the code I used).

This code should work as tested.

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

/* hide icons for bookmark folders */
#personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon {
 display:none!important;
}

ჩასწორების თარიღი: , ავტორი: cor-el

thacor-el said

I see that I forgot to remove a ':' from the selector (I had a :not() selector in the code I used). This code should work as tested.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* hide icons for bookmark folders */
#personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon {
 display:none!important;
}

Thank you. It works great now.