I used to be able to edit lightweighttheme-header to change the header image, but these change are now ignored?
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
Chosen solution
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":""}]
All Replies (4)
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.
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
Chosen Solution
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":""}]
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!