How to remove the top bar from the context menu?

1

  • You can customize the Firefox interface by editing the userChrome.css file.
  • First, you need to enable the userChrome.css file if it’s not already enabled.
  • Go to about:config in the Firefox address bar.
  • Search for toolkit.legacyUserProfileCustomizations.stylesheets and set it to true .
  • Navigate to your Firefox profile directory. You can find it by going to about:support and clicking on “Open Folder” next to “Profile Directory.”
  • Inside the profile folder, create a folder named chrome if it doesn’t exist.
  • Inside the chrome folder, create a file named userChrome.css if it doesn’t exist.
  • Add the following code to userChrome.css :

/* Hide top bar in context menu */
#context-navigation {
display: none !important;
}

  • Save the file and restart Firefox.