[Solved] Back to Top + Menu Icons Plus: missing icons

Discuss all "Back to Top" issues or request new features.

[Solved] Back to Top + Menu Icons Plus: missing icons

Postby B2TFTW » Fri Nov 14, 2014 1:28 pm

When Back to Top 7.0 is installed to Pale Moon in combination with Menu Icons Plus 3.2, the icons for the "Go to top" and "Go to bottom" items in the context menu (the little arrows) are not displayed:

Context menu.png
Pale Moon's context menu, with Back to Top 7.0 and Menu Icons Plus 3.2 installed
Context menu.png (10.39 KiB) Viewed 4632 times

:?: Is there a way to fix this, perhaps by adding some code to userChrome.css?
Last edited by B2TFTW on Mon Nov 17, 2014 12:07 pm, edited 2 times in total.
B2TFTW
 
Posts: 3
Joined: Fri Nov 14, 2014 12:13 pm
Location: Netherlands

Re: Back to Top + Menu Icons Plus: no icons in context menu

Postby cbaker_admin » Fri Nov 14, 2014 4:58 pm

I installed Menu Icons Plus 3.2 and it does, indeed, remove the B2T context menu icons. If I disable Menu Icons Plus, the icons re-appear. I've tried adding the appropriate code to userChrome.css, but I cannot get the icons to display. It appears Menu Icons Plus is somehow overriding the css. Perhaps the Menu Icons Plus author can give you a solution.
cbaker_admin
Site Admin
 
Posts: 4427
Joined: Sun Nov 27, 2005 10:51 pm
Location: Glendale, AZ USA

Re: Back to Top + Menu Icons Plus: no icons in context menu

Postby B2TFTW » Sat Nov 15, 2014 10:05 am

Thank you for your reply. I have reported the issue with the developer of Menu Icons Plus; maybe he can fix it with a future update, or maybe he knows a workaround.
B2TFTW
 
Posts: 3
Joined: Fri Nov 14, 2014 12:13 pm
Location: Netherlands

Re: Back to Top + Menu Icons Plus: no icons in context menu

Postby B2TFTW » Mon Nov 17, 2014 11:59 am

Good news: the developer of Menu Icons Plus has informed me that he will (re)include the icons for Back to Top with the next release!

In the meantime, the issue can be fixed by opening the .xpi for Menu Icons Plus, and replacing the following lines in \skin\external_icons.css:

Code: Select all
/* back to top */
#backtotop-context
{ list-style-image: url("chrome://backtotop/skin/defaultUpSmall.png") !important; }
#gotobottom-context
{ list-style-image: url("chrome://backtotop/skin/defaultDownSmall.png") !important; }

with:

Code: Select all
/* back to top */
menuitem[partOf="b2t"]
{ list-style-image: url(chrome://backtotop/skin/b2timagemap.png)!important; }
#backtotop-context[appearance="b2tUpDarkSmall"]
{ -moz-image-region: rect(24px 24px 48px 0px); }
#gotobottom-context[appearance="b2tDownDarkSmall"]
{ -moz-image-region: rect(24px 48px 48px 24px); }
#backtotop-context[appearance="b2tUpLightSmall"]
{ -moz-image-region: rect(72px 24px 96px 0px); }
#gotobottom-context[appearance="b2tDownLightSmall"]
{ -moz-image-region: rect(72px 48px 96px 24px); }

Context menu (fixed).png
Attachments
menu_icons_plus-3.2-fx.xpi
Menu Icons Plus 3.2, adjusted for compatibility with Back to Top
(539.03 KiB) Downloaded 244 times
B2TFTW
 
Posts: 3
Joined: Fri Nov 14, 2014 12:13 pm
Location: Netherlands

Re: [Solved] Back to Top + Menu Icons Plus: missing icons

Postby cbaker_admin » Mon Nov 17, 2014 1:33 pm

Thanks for the update!
cbaker_admin
Site Admin
 
Posts: 4427
Joined: Sun Nov 27, 2005 10:51 pm
Location: Glendale, AZ USA


Return to Back to Top

Who is online

Users browsing this forum: No registered users and 4 guests

cron