Page 1 of 1

PM 28.2.2: URL bar font size cannot be changed

Posted: 2018-12-15, 14:11
by lenovolobo933
after creating /home/user/.moonchild productions/pale moon/user.default/chrome directory and creating userChrome.css with the following:

#urlbar .textbox-input-box,
#searchbar .textbox-input-box {
font-size: 300%;
}

and it failed. so i tried:

#urlbar {font-size: 14pt !important}

also there is no change in the URL bar font size.

Re: PM 28.2.2: URL bar font size cannot be changed

Posted: 2018-12-15, 15:26
by jars_

Code: Select all

#urlbar {
	font-family: "Segoe UI","Franklin Gothic",Verdana !important;
	font-size: 1.1em !important; /* 1em, 1.1em,1.2em,... 1.03em, 1.08em etc */
	}


Re: PM 28.2.2: URL bar font size cannot be changed

Posted: 2018-12-16, 16:07
by therube
@lenovolobo933, your example works here:

Code: Select all

#urlbar .textbox-input-box,
#searchbar .textbox-input-box {
font-size: 300%;
}
So maybe some other syntax issues elsewhere in your userChrome.css file?


Rename existing userChrome.css to userChrome.css.OLD, then create again with only the above code & test.
(You can always revert using the .OLD version.)

Re: PM 28.2.2: URL bar font size cannot be changed

Posted: 2018-12-16, 20:14
by Goodydino
Did you put the namespace line at the start of userChrome.css? It is needed to get the stylesheet to work.

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

Re: PM 28.2.2: URL bar font size cannot be changed

Posted: 2018-12-16, 20:49
by jars_
namespace line at the start of userChrome.css? It is needed to get the stylesheet to work.
No, not needed. Browser knows: userChrome - for browser interface. userContent - for pages.

Re: PM 28.2.2: URL bar font size cannot be changed

Posted: 2018-12-17, 19:25
by Goodydino
The file userChrome.css uses the namespace line, but userContent.css does not. I would suggest adding the namespace line to userChrome.css and see if it works better that way.