搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I used to be able to edit lightweighttheme-header to change the header image, but these change are now ignored?

  • 4 回覆
  • 1 有這個問題
  • 19 次檢視
  • 最近回覆由 Shosha

more options

I am using a lightweight theme aka persona that hasn't been updated in many years. I previously manually updated the image file to make it compatible with my higher resolution monitor. Now I see that it has reverted to its original image size and I'm unable to make changes to the image.

Problem steps: Install a theme e.g. https://addons.mozilla.org/en-US/firefox/addon/yakuza-paint/ The top left corner of Firefox has a blank white spot because the image is too narrow. Close Firefox Edit lightweighttheme-header file in Firefox profile folder, make the image wider Start Firefox again, the changes are not reflected

I am using a lightweight theme aka persona that hasn't been updated in many years. I previously manually updated the image file to make it compatible with my higher resolution monitor. Now I see that it has reverted to its original image size and I'm unable to make changes to the image. Problem steps: Install a theme e.g. https://addons.mozilla.org/en-US/firefox/addon/yakuza-paint/ The top left corner of Firefox has a blank white spot because the image is too narrow. Close Firefox Edit lightweighttheme-header file in Firefox profile folder, make the image wider Start Firefox again, the changes are not reflected

被選擇的解決方法

Does Firefox still apply the theme?

I use this to force the theme: lightweightThemes.persisted.footerURL = true lightweightThemes.persisted.headerURL = true lightweightThemes.selectedThemeID = 1 lightweightThemes.usedThemes =
[{"id":"1","name":"Unknown","headerURL":"https://addons.cdn.mozilla.net/","footerURL":"https://addons.cdn.mozilla.net/","textcolor":"#","accentcolor":"#","iconURL":"","previewURL":"","author":"Unknown","updateURL":"","version":"1.0","updateDate":"","installDate":""}]

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

Firefox places lightweight theme images as lightweighttheme-header and lightweighttheme-footer in the main profile folder (xxxxxxxx.default) if you select a lightweight theme. The lightweighttheme-header and lightweighttheme-footer images will be resized and copied to the lwtheme folder if you select the theme. You need to delete the files in the lwtheme folder with Firefox closed to make Firefox use a new lightweight theme if you replace the lightweighttheme-header and lightweighttheme-footer yourself.

more options

Thanks for the response. Does the fact that I don't have an lwtheme folder in my Firefox profile folder mean that the theme is no longer a "lightweight theme"? Perhaps the theme was updated to no longer be a lightweight theme?

blah.default>dir /s /b *lightweight* blah.default\lightweighttheme-footer blah.default\lightweighttheme-header

blah.default>dir /s /b *lwtheme* File Not Found

more options

選擇的解決方法

Does Firefox still apply the theme?

I use this to force the theme: lightweightThemes.persisted.footerURL = true lightweightThemes.persisted.headerURL = true lightweightThemes.selectedThemeID = 1 lightweightThemes.usedThemes =
[{"id":"1","name":"Unknown","headerURL":"https://addons.cdn.mozilla.net/","footerURL":"https://addons.cdn.mozilla.net/","textcolor":"#","accentcolor":"#","iconURL":"","previewURL":"","author":"Unknown","updateURL":"","version":"1.0","updateDate":"","installDate":""}]

more options

That worked. I set the theme back to default, adjusted the settings in about:config according to what you specified, closed Firefox, updated the lightweighttheme-header file, started Firefox back up, and it works!

In the Themes section of Add-ons I now see "Unknown" is the active theme - which matches up with what you set as the name in that usedThemes JSON string.

Thanks a lot for your help!