X
Tap here to go to the mobile version of the site.

Support Forum

How do I remove the seperation lines in the "Show your bookmarks" drop down menu?

Posted

Hello,

In the userChrome.css file what text do I have to add to remove the seperation lines shown in the following picture?

[img]https://s25.postimg.org/gf8uzkrof/Firefox.jpg/img


Thank you.

Hello, In the userChrome.css file what text do I have to add to remove the seperation lines shown in the following picture? [img]https://s25.postimg.org/gf8uzkrof/Firefox.jpg[/img] Thank you.

Chosen solution

Thanks for the screenshot with the keyboard shortcut circled. The selection for that --based on Firefox 56-- is:

#BMB_bookmarksShowAll .menu-accel-container
Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Shockwave Flash 26.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:41.0) Gecko/20100101 Firefox/41.0

More Information

Question owner

Avengement said

Hello, In the userChrome.css file what text do I have to add to remove the seperation lines shown in the following picture? [img]https://s25.postimg.org/gf8uzkrof/Firefox.jpg/img Thank you.
''Avengement [[#question-1178310|said]]'' <blockquote> Hello, In the userChrome.css file what text do I have to add to remove the seperation lines shown in the following picture? [img]https://s25.postimg.org/gf8uzkrof/Firefox.jpg[/img] Thank you. </blockquote>
FredMcD
  • Top 10 Contributor
3537 solutions 48005 answers

Right-click on the item and select Delete.

Right-click on the item and select '''Delete.'''
cor-el
  • Top 10 Contributor
  • Moderator
16167 solutions 145917 answers

Are you using userChrome.css to remove any entries that would show between these separators?

If you do then we would first have to know what items were there originally.

Can you post the content of your userChrome.css that shows the relevant lines?

Are you using userChrome.css to remove any entries that would show between these separators? If you do then we would first have to know what items were there originally. Can you post the content of your userChrome.css that shows the relevant lines?

Question owner

FredMcD said

Right-click on the item and select Delete.

There is no delete option in the popup menu offered when right clicking on the seperators.

''FredMcD [[#answer-1013455|said]]'' <blockquote> Right-click on the item and select '''Delete.''' </blockquote> There is no delete option in the popup menu offered when right clicking on the seperators.

Question owner

cor-el said

Are you using userChrome.css to remove any entries that would show between these separators? If you do then we would first have to know what items were there originally. Can you post the content of your userChrome.css that shows the relevant lines?

Sure:

/* items in Bookmarks menu */
#menu_bookmarkThisPage,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
#bookmarksShowAll, #organizeBookmarksSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator,
#menu_unsortedBookmarks {
 display: none !important;
}

/* items in Bookmarks Menu button (Show your bookmarks) popup */
#BMB_viewBookmarksSidebar,
#BMB_bookmarksShowAllTop,
#BMB_bookmarkThisPage,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator,
#BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator,
#BMB_unsortedBookmarks {
 display: none !important;
}
''cor-el [[#answer-1013456|said]]'' <blockquote> Are you using userChrome.css to remove any entries that would show between these separators? If you do then we would first have to know what items were there originally. Can you post the content of your userChrome.css that shows the relevant lines? </blockquote> Sure: <pre><nowiki>/* items in Bookmarks menu */ #menu_bookmarkThisPage, #subscribeToPageMenuitem, #subscribeToPageMenupopup, #menu_bookmarkAllTabs, #bookmarksShowAll, #organizeBookmarksSeparator, #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator, #menu_unsortedBookmarks { display: none !important; } /* items in Bookmarks Menu button (Show your bookmarks) popup */ #BMB_viewBookmarksSidebar, #BMB_bookmarksShowAllTop, #BMB_bookmarkThisPage, #BMB_subscribeToPageMenuitem, #BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator, #BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator, #BMB_unsortedBookmarks { display: none !important; }</nowiki></pre>

Modified by cor-el

cor-el
  • Top 10 Contributor
  • Moderator
16167 solutions 145917 answers

Does this work?

/* items in Bookmarks menu */
#menu_bookmarkThisPage,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
#bookmarksShowAll, #organizeBookmarksSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator,
#menu_unsortedBookmarks {
 display: none !important;
}

/* items in Bookmarks Menu button (Show your bookmarks) popup */
#BMB_viewBookmarksSidebar,
#BMB_bookmarksShowAllTop, #BMB_bookmarksShowAllTop+menuseparator,
#BMB_bookmarkThisPage,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator,
#BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator,
#BMB_unsortedBookmarks,#BMB_unsortedBookmarks+menuseparator {
 display: none !important;
}
Does this work? <pre><nowiki>/* items in Bookmarks menu */ #menu_bookmarkThisPage, #subscribeToPageMenuitem, #subscribeToPageMenupopup, #menu_bookmarkAllTabs, #bookmarksShowAll, #organizeBookmarksSeparator, #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator, #menu_unsortedBookmarks { display: none !important; } /* items in Bookmarks Menu button (Show your bookmarks) popup */ #BMB_viewBookmarksSidebar, #BMB_bookmarksShowAllTop, #BMB_bookmarksShowAllTop+menuseparator, #BMB_bookmarkThisPage, #BMB_subscribeToPageMenuitem, #BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator, #BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator, #BMB_unsortedBookmarks,#BMB_unsortedBookmarks+menuseparator { display: none !important; } </nowiki></pre>

Question owner

cor-el said

Does this work?
/* items in Bookmarks menu */
#menu_bookmarkThisPage,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
#bookmarksShowAll, #organizeBookmarksSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator,
#menu_unsortedBookmarks {
 display: none !important;
}

/* items in Bookmarks Menu button (Show your bookmarks) popup */
#BMB_viewBookmarksSidebar,
#BMB_bookmarksShowAllTop, #BMB_bookmarksShowAllTop+menuseparator,
#BMB_bookmarkThisPage,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator,
#BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator,
#BMB_unsortedBookmarks,#BMB_unsortedBookmarks+menuseparator {
 display: none !important;
}

It removed one seperator.

The other two are still there.

If you need images for reference let me know.

Thanks again for your continued help.

''cor-el [[#answer-1013544|said]]'' <blockquote> Does this work? <pre><nowiki>/* items in Bookmarks menu */ #menu_bookmarkThisPage, #subscribeToPageMenuitem, #subscribeToPageMenupopup, #menu_bookmarkAllTabs, #bookmarksShowAll, #organizeBookmarksSeparator, #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator, #menu_unsortedBookmarks { display: none !important; } /* items in Bookmarks Menu button (Show your bookmarks) popup */ #BMB_viewBookmarksSidebar, #BMB_bookmarksShowAllTop, #BMB_bookmarksShowAllTop+menuseparator, #BMB_bookmarkThisPage, #BMB_subscribeToPageMenuitem, #BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator, #BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator, #BMB_unsortedBookmarks,#BMB_unsortedBookmarks+menuseparator { display: none !important; } </nowiki></pre> </blockquote> It removed one seperator. The other two are still there. If you need images for reference let me know. Thanks again for your continued help.
jscher2000
  • Top 10 Contributor
7263 solutions 59102 answers

Also, your Firefox identified itself to the forum as version 41. An update is available: this article describes how to get Firefox 56 using the "About Firefox" dialog on the help menu: Update Firefox to the latest version.

If something is holding you back from upgrading to Firefox 56, please let us know so we can suggest solutions or workarounds. Version 41 is not secure; Mozilla discloses security flaws after each new release.

Sometimes Firefox reports the wrong version because that information was saved in a preferences file. If the "About Firefox" dialog (see first article link) shows Firefox 56.0, you may need to clear out that incorrect information. See: How to reset the default user agent on Firefox.

Also, your Firefox identified itself to the forum as version 41. An update is available: this article describes how to get Firefox 56 using the "About Firefox" dialog on the help menu: [[Update Firefox to the latest version]]. If something is holding you back from upgrading to Firefox 56, please let us know so we can suggest solutions or workarounds. Version 41 is not secure; Mozilla discloses [https://www.mozilla.org/security/known-vulnerabilities/firefox.html security flaws] after each new release. Sometimes Firefox reports the wrong version because that information was saved in a preferences file. If the "About Firefox" dialog (see first article link) shows Firefox 56.0, you may need to clear out that incorrect information. See: [[How to reset the default user agent on Firefox]].

Question owner

jscher2000 said

Also, your Firefox identified itself to the forum as version 41. An update is available: this article describes how to get Firefox 56 using the "About Firefox" dialog on the help menu: Update Firefox to the latest version. If something is holding you back from upgrading to Firefox 56, please let us know so we can suggest solutions or workarounds. Version 41 is not secure; Mozilla discloses security flaws after each new release. Sometimes Firefox reports the wrong version because that information was saved in a preferences file. If the "About Firefox" dialog (see first article link) shows Firefox 56.0, you may need to clear out that incorrect information. See: How to reset the default user agent on Firefox.

Unless the new version of firefox has disabled all telemetry, does not use tabbed browsing/settings menus and doesn't break all the extensions I use while maintaining the same simple UI, I'm not at all interested in using it.

If you are going to cite "security" as a reason, then I will inform you that through the use of both adblock with noscript and selectively choosing to download only official content, that is not a problem for me and hasen't been for years.

At the end of the day I'm asking for help with my current use case, not suggestions on how to fix one issue and create a dozen others.

Thanks for the reply though.

''jscher2000 [[#answer-1013766|said]]'' <blockquote> Also, your Firefox identified itself to the forum as version 41. An update is available: this article describes how to get Firefox 56 using the "About Firefox" dialog on the help menu: [[Update Firefox to the latest version]]. If something is holding you back from upgrading to Firefox 56, please let us know so we can suggest solutions or workarounds. Version 41 is not secure; Mozilla discloses [https://www.mozilla.org/security/known-vulnerabilities/firefox.html security flaws] after each new release. Sometimes Firefox reports the wrong version because that information was saved in a preferences file. If the "About Firefox" dialog (see first article link) shows Firefox 56.0, you may need to clear out that incorrect information. See: [[How to reset the default user agent on Firefox]]. </blockquote> Unless the new version of firefox has disabled all telemetry, does not use tabbed browsing/settings menus and doesn't break all the extensions I use while maintaining the same simple UI, I'm not at all interested in using it. If you are going to cite "security" as a reason, then I will inform you that through the use of both adblock with noscript and selectively choosing to download only official content, that is not a problem for me and hasen't been for years. At the end of the day I'm asking for help with my current use case, not suggestions on how to fix one issue and create a dozen others. Thanks for the reply though.
jscher2000
  • Top 10 Contributor
7263 solutions 59102 answers

My question was relevant to the state of the dev tools available to you to investigate your menus. You can install the DOM Inspector and Element Inspector extensions to explore the menus and identify the relevant selectors.

Keep backups of your extensions in case you need to reinstall them after next Summer.

My question was relevant to the state of the dev tools available to you to investigate your menus. You can install the DOM Inspector and Element Inspector extensions to explore the menus and identify the relevant selectors. * <s>https://addons.mozilla.org/firefox/addon/element-inspector/</s> https://addons.mozilla.org/firefox/addon/dom-inspector-6622/ * https://addons.mozilla.org/firefox/addon/element-inspector/ - enabled Shift+right-click to launch the DOM Inspector pointing at that element Keep backups of your extensions in case you need to reinstall them after next Summer.

Modified by jscher2000

cor-el
  • Top 10 Contributor
  • Moderator
16167 solutions 145917 answers

Helpful Reply

Where are those separators positioned if you show the menu drop down list without hiding any entries?

Where are those separators positioned if you show the menu drop down list without hiding any entries?

Question owner

cor-el said

Where are those separators positioned if you show the menu drop down list without hiding any entries?

This is how it currently is with the first bookmark being "Google" for reference and then the bottom being "Show All Bookmarks Ctrl+Shift+B"

''cor-el [[#answer-1014016|said]]'' <blockquote> Where are those separators positioned if you show the menu drop down list without hiding any entries? </blockquote> This is how it currently is with the first bookmark being "Google" for reference and then the bottom being "Show All Bookmarks Ctrl+Shift+B"

Question owner

I would like for the entire top portion to be removed as these are all useless/double options for me and the "Ctrl+Shift+B" portion of the "Show All Bookmarks" feature removed:

I would like for the entire top portion to be removed as these are all useless/double options for me and the "Ctrl+Shift+B" portion of the "Show All Bookmarks" feature removed:

Question owner

jscher2000 said

My question was relevant to the state of the dev tools available to you to investigate your menus. You can install the DOM Inspector and Element Inspector extensions to explore the menus and identify the relevant selectors. Keep backups of your extensions in case you need to reinstall them after next Summer.

I'm not familiar with these addons as I'm not a developer. I will however give them a try and see if I can learn something when time persists if I'm not able to find a better alternative.

Thanks.

''jscher2000 [[#answer-1013782|said]]'' <blockquote> My question was relevant to the state of the dev tools available to you to investigate your menus. You can install the DOM Inspector and Element Inspector extensions to explore the menus and identify the relevant selectors. * <s>https://addons.mozilla.org/firefox/addon/element-inspector/</s> https://addons.mozilla.org/firefox/addon/dom-inspector-6622/ * https://addons.mozilla.org/firefox/addon/element-inspector/ - enabled Shift+right-click to launch the DOM Inspector pointing at that element Keep backups of your extensions in case you need to reinstall them after next Summer. </blockquote> I'm not familiar with these addons as I'm not a developer. I will however give them a try and see if I can learn something when time persists if I'm not able to find a better alternative. Thanks.
Pkshadow
  • Top 10 Contributor
692 solutions 8273 answers

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily. Thank you for contacting Mozilla Support.

Hello, I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily. Thank you for contacting Mozilla Support.

Question owner

Pkshadow said

Hello, I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily. Thank you for contacting Mozilla Support.

It's not solved. I'm showing what I'm trying to achieve. I photoshopped the images.

''Pkshadow [[#answer-1014250|said]]'' <blockquote> Hello, I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily. Thank you for contacting Mozilla Support. </blockquote> It's not solved. I'm showing what I'm trying to achieve. I photoshopped the images.
jscher2000
  • Top 10 Contributor
7263 solutions 59102 answers

Try copying the following and pasting it into the address bar and pressing Enter to load it:

view-source:chrome://browser/content/browser.xul

That should give you a source view of the bare bones of the user interface.

Use Find (Ctrl+f) to search for either

bookmarksMenuPopup => Bookmarks menu on top menu bar
BMB_bookmarksPopup => Bookmarks Menu button on toolbar

That should zoom you down to the "XUL" code for the menu (example screenshots attached). It will have indented items labeled

<menuitem

for the command items, and

<menuseparator

for the separators. At least in Firefox 56 that's how it looks.

Where you can find an id= then you're all set. Where you CANNOT find an id on something you can try the adjacent sibling selector (the selectors with the + sign in your earlier code, see Adjacent sibling combinator).

If you're really stumped, copy/paste the code for the menu from your version of Firefox. This site does not take kindly to HTML or XUL code, so you could use Pastebin or another similar site that lets you share selections of text.

Try copying the following and pasting it into the address bar and pressing Enter to load it: view-source:chrome://browser/content/browser.xul That should give you a source view of the bare bones of the user interface. Use Find (Ctrl+f) to search for either bookmarksMenuPopup => Bookmarks menu on top menu bar BMB_bookmarksPopup => Bookmarks Menu button on toolbar That should zoom you down to the "XUL" code for the menu (example screenshots attached). It will have indented items labeled &lt;menuitem for the command items, and &lt;menuseparator for the separators. At least in Firefox 56 that's how it looks. Where you can find an id= then you're all set. Where you CANNOT find an id on something you can try the adjacent sibling selector (the selectors with the + sign in your earlier code, see [https://developer.mozilla.org/docs/Web/CSS/Adjacent_sibling_selectors Adjacent sibling combinator]). If you're really stumped, copy/paste the code for the menu from your version of Firefox. This site does not take kindly to HTML or XUL code, so you could use Pastebin or another similar site that lets you share selections of text.

Modified by jscher2000

jscher2000
  • Top 10 Contributor
7263 solutions 59102 answers

Whoops, that was the menu on the toolbar. For the bookmarks menu button on the toolbar, use Find to look for:

BMB_bookmarksPopup

and then proceed in the same manner. I'll edit the above message and screenshot.

Whoops, that was the menu on the toolbar. For the bookmarks menu button on the toolbar, use Find to look for: BMB_bookmarksPopup and then proceed in the same manner. I'll edit the above message and screenshot.
cor-el
  • Top 10 Contributor
  • Moderator
16167 solutions 145917 answers

I think that the separator that you still see are part of the Bookmarks Menu items and you should be able to remove them in the Bookmarks Manager (Library).

I think that the separator that you still see are part of the Bookmarks Menu items and you should be able to remove them in the Bookmarks Manager (Library). *https://support.mozilla.org/en-US/kb/how-do-i-delete-bookmark

Question owner

jscher2000 said

Try copying the following and pasting it into the address bar and pressing Enter to load it: view-source:chrome://browser/content/browser.xul That should give you a source view of the bare bones of the user interface. Use Find (Ctrl+f) to search for either bookmarksMenuPopup => Bookmarks menu on top menu bar BMB_bookmarksPopup => Bookmarks Menu button on toolbar That should zoom you down to the "XUL" code for the menu (example screenshots attached). It will have indented items labeled <menuitem for the command items, and <menuseparator for the separators. At least in Firefox 56 that's how it looks. Where you can find an id= then you're all set. Where you CANNOT find an id on something you can try the adjacent sibling selector (the selectors with the + sign in your earlier code, see Adjacent sibling combinator). If you're really stumped, copy/paste the code for the menu from your version of Firefox. This site does not take kindly to HTML or XUL code, so you could use Pastebin or another similar site that lets you share selections of text.

Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down?

''jscher2000 [[#answer-1014362|said]]'' <blockquote> Try copying the following and pasting it into the address bar and pressing Enter to load it: view-source:chrome://browser/content/browser.xul That should give you a source view of the bare bones of the user interface. Use Find (Ctrl+f) to search for either bookmarksMenuPopup => Bookmarks menu on top menu bar BMB_bookmarksPopup => Bookmarks Menu button on toolbar That should zoom you down to the "XUL" code for the menu (example screenshots attached). It will have indented items labeled &lt;menuitem for the command items, and &lt;menuseparator for the separators. At least in Firefox 56 that's how it looks. Where you can find an id= then you're all set. Where you CANNOT find an id on something you can try the adjacent sibling selector (the selectors with the + sign in your earlier code, see [https://developer.mozilla.org/docs/Web/CSS/Adjacent_sibling_selectors Adjacent sibling combinator]). If you're really stumped, copy/paste the code for the menu from your version of Firefox. This site does not take kindly to HTML or XUL code, so you could use Pastebin or another similar site that lets you share selections of text. </blockquote> Okay, so where is the line mentioning the "Ctrl+Shift+B" beside the "Show All Bookmarks" button located at the bottom of the drop down?

Modified by Avengement