X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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

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":""}]

Read this answer in context 0
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17344 solutions 156777 answers

Helpful Reply

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.

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.
Was this helpful to you? 1
Quote

Question owner

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

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
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17344 solutions 156777 answers

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":""}]

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 = <br>[{"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":""}]
Was this helpful to you?
Quote

Question owner

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!

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!
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.