為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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 於 修改