
remove the hint in the address bar
Hi, is there a way to remove the hint in the address bar - "search with ... or enter the address", leave only the blinking cursor? thanks.
الحل المُختار
That is the placeholder text that shows the action for the default search engine. Note that CSS code for the user interface goes in userChrome.css, userContent.css is for styling webpages including built-in about pages.
Add CSS code to the userChrome.css file in the chrome folder in the Firefox profile folder. Either of the two codes should work to hide this text.
#urlbar *|input::placeholder { color: transparent !important; opacity: 0 !important; } #urlbar *|input::placeholder:hover {/* add code to override this on hover */}Read this answer in context 👍 1
All Replies (4)
Unless there is a userChrome.css edit to remove it - that will always be there and since it disappears when you type something in there is there really a issue there?
thank you for your answer, I have userContent.css to improve the design of firefox, can you suggest a solution?
الحل المُختار
That is the placeholder text that shows the action for the default search engine. Note that CSS code for the user interface goes in userChrome.css, userContent.css is for styling webpages including built-in about pages.
Add CSS code to the userChrome.css file in the chrome folder in the Firefox profile folder. Either of the two codes should work to hide this text.
#urlbar *|input::placeholder { color: transparent !important; opacity: 0 !important; } #urlbar *|input::placeholder:hover {/* add code to override this on hover */}
Thank you, cor-el !