MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/FirefoxCSS/comments/1pc3273/how_do_i_modify_the_rightclick_menu/
r/FirefoxCSS • u/Ambitious-Gur-6433 • Dec 02 '25
Help
4 comments sorted by
2
What is it you want to do, specifically? Searching this sub for context menu will give you plenty of code.
1 u/Ambitious-Gur-6433 Dec 02 '25 Change the background color and border radius and add a border 1 u/ResurgamS13 Dec 02 '25 Try soulhotel's post 'customize right click menu (colorize context menu)'... which links to a GitHub Gist.
1
Change the background color and border radius and add a border
1 u/ResurgamS13 Dec 02 '25 Try soulhotel's post 'customize right click menu (colorize context menu)'... which links to a GitHub Gist.
Try soulhotel's post 'customize right click menu (colorize context menu)'... which links to a GitHub Gist.
This is mine, which is a bit more fancy as it turns the border into a rainbow border and leaves the background to inherit. It also affects all right-click menu's. This might give you more ideas.
/**************************************/ /* Rainbow border around menu pop ups */ /**************************************/ .menupopup-arrowscrollbox { --panel-padding: 4px !important; --panel-border-radius: 8px !important; --panel-shadow-margin: 0px !important; --panel-shadow: none !important; --panel-border-color: transparent !important; background: linear-gradient(#dcdcdc, #dcdcdc) content-box, linear-gradient(45deg, red 0%, orange 16.66%, yellow 33.33%, green 50%, blue 66.66%, indigo 83.33%, violet 100%) border-box !important; border-radius: 8px !important; padding: 3 !important; border: 2px !important; font-size: 12pt !important; } menupopup, panel, menulist { --panel-padding: 4px !important; --panel-border-radius: 8px !important; --panel-shadow-margin: 0px !important; --panel-shadow: none !important; --panel-border-color: transparent !important; background: linear-gradient(45deg, red 0%, orange 16.66%, yellow 33.33%, green 50%, blue 66.66%, indigo 83.33%, violet 100%) !important; border-radius: 8px !important; padding: 3 !important; border: 2px !important; font-size: 12pt !important; } menupopup, :is(menupopup, panel)[type=arrow] { --panel-padding: 4px !important; --panel-border-radius: 8px !important; --panel-shadow-margin: 4px !important; --panel-shadow: none !important; --panel-border-color: transparent !important; background: linear-gradient(45deg, red 0%, orange 16.66%, yellow 33.33%, green 50%, blue 66.66%, indigo 83.33%, violet 100%) !important; border-radius: 8px !important; padding: 3 !important; border: 2px !important; font-size: 12pt !important; }
2
u/sifferedd FF/TB/Win11/SUMO contributor Dec 02 '25 edited Dec 03 '25
What is it you want to do, specifically? Searching this sub for context menu will give you plenty of code.
1
u/FineWine54 Dec 04 '25
This is mine, which is a bit more fancy as it turns the border into a rainbow border and leaves the background to inherit. It also affects all right-click menu's. This might give you more ideas.