Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

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

了解更多

Why doesn't editing userChrome.css work for me?

  • 2 回覆
  • 8 有這個問題
  • 1 次檢視
  • 最近回覆由 MaxS

more options

I originally had the same problem as here: https://support.mozilla.org/en-US/questions/1085113 . The offered solution was to edit the userChrome.css file. So I created this file (into a folder named chrome) in my profile folder, copied and pasted the suggested code into it, saved the file, and restarted firefox. This had no effect at all. Then I tried some of the examples given in http://kb.mozillazine.org/UserChrome-example.css and http://www-archive.mozilla.org/unix/customizing.html , again to no effect. Any idea what I'm doing wrong?

I originally had the same problem as here: https://support.mozilla.org/en-US/questions/1085113 . The offered solution was to edit the userChrome.css file. So I created this file (into a folder named chrome) in my profile folder, copied and pasted the suggested code into it, saved the file, and restarted firefox. This had no effect at all. Then I tried some of the examples given in http://kb.mozillazine.org/UserChrome-example.css and http://www-archive.mozilla.org/unix/customizing.html , again to no effect. Any idea what I'm doing wrong?

被選擇的解決方法

Did you check the file type of the userChrome.css file to make sure that it is a CSS file and not a text file?

Just to be sure, you can use this button to go to the current Firefox profile folder:

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

所有回覆 (2)

more options

選擇的解決方法

Did you check the file type of the userChrome.css file to make sure that it is a CSS file and not a text file?

Just to be sure, you can use this button to go to the current Firefox profile folder:

more options

cor-el said

Did you check the file type of the userChrome.css file to make sure that it is a CSS file and not a text file? Just to be sure, you can use this button to go to the current Firefox profile folder:

Ah, that seems to be the case. Thank you! The sites I consulted simply said "a plain text document", so I didn't think much further. How do I convert my text file to a css file? Does this require any special software? "Save as" doesn't seem to work.


EDIT: Ok, I found out how that works. (Needed to change names in a different order.) Problem solved :-)

由 MaxS 於 修改